BASS.NET API for the Un4seen BASS Audio Library

BassWasapiHandlerInputChannel Property

BASS.NET API for the Un4seen BASS Audio Library
Returns an input channel which allows you to retrieve the recorded sample data and/or apply any DSP/FX on Wasapi input.

Namespace:  Un4seen.BassWasapi
Assembly:  Bass.Net (in Bass.Net.dll) Version:

public int InputChannel { get; }

Property Value

Type: Int32

When you are using WASAPI with input (IsInput must return ) and have set the UseInput property to you might use this channel to setup any DSP/FX to be applied to the Wasapi input or just retrieve the recorded sample data. Any DSP/FX set on this channel will also be passed through to the output, if you are using SetFullDuplex(Int32, BASSFlag, Boolean).

As the InputChannel is a dummy custom decoding stream you can not call BASS_ChannelGetData(Int32, IntPtr, Int32) directly on it in order to directly get the sample data; nor can you use it directly as a source stream for any (mixer)output! Instead use a DSPPROC via BASS_ChannelSetDSP(Int32, DSPPROC, IntPtr, Int32) to retrieve the sample data.

Note: However, you might independently set any DSP/FX on the full-duplex output using the OutputChannel instead.

See Also