Enables/disables processing of a channel.
BOOL BASS_ASIO_ChannelEnable( BOOL input, DWORD channel, ASIOPROC *proc, void *user );
input | Dealing with an input channel? FALSE = an output channel. |
channel | The input/output channel number... 0 = first. |
proc | The user defined function to process the channel... NULL = disable the channel. |
user | User instance data to pass to the callback function. |
BASS_ERROR_INIT | BASS_ASIO_Init has not been successfully called. |
BASS_ERROR_START | The device needs to be stopped before the channel can be enabled. |
BASS_ERROR_ILLPARAM | The input and channel combination is invalid. |
Use BASS_ASIO_Start to begin processing the enabled channels. An enabled channel's proc and user parameters can be changed after the device has been started, but other channels cannot be enabled without stopping the device first.
BASS channels can be used directly, without needing an ASIOPROC callback function, via BASS_ASIO_ChannelEnableBASS.
BASS_ASIO_ChannelEnable(FALSE, 0, MyAsioProc, 0);