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 has been started - it needs to be stopped before (dis)enabling channels.|
|BASS_ERROR_ILLPARAM||The input and channel combination is invalid.|
Use BASS_ASIO_Start to begin processing the enabled channels. A channel's proc and user parameters can be changed after the device has been started, but the channel cannot be disabled (proc=NULL) without stopping the device first.
BASS_ASIO_ChannelEnable(FALSE, 0, MyAsioProc, 0);