BASS_Mixer_ChannelRemove
Unplugs a channel from a mixer.
BOOL BASS_Mixer_ChannelRemove(
DWORD handle
);
Parameters
handle | The handle of the channel to unplug.
|
Return value
If successful, then TRUE is returned, else FALSE is returned. Use BASS_ErrorGetCode to get the error code.
Error codes
BASS_ERROR_HANDLE | handle is not a mixer source.
|
Remarks
If this function is called from within a mixtime sync callback and the source has the BASS_STREAM_AUTOFREE flag set on it, then the source will be freed asynchronously (in another thread) to avoid delaying the mixer's other processing.
See also
BASS_Mixer_StreamAddChannel, BASS_Mixer_ChannelGetMixer