BASS.NET API for the Un4seen BASS Audio Library

BassMixBASS_Mixer_ChannelRemove Method

BASS.NET API for the Un4seen BASS Audio Library
Unplugs a channel from a mixer.

Namespace:  Un4seen.Bass.AddOn.Mix
Assembly:  Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax

[DllImportAttribute("bassmix")]
public static bool BASS_Mixer_ChannelRemove(
	int handle
)

Parameters

handle
Type: SystemInt32
The handle of the mixer source channel to unplug (which was add via BASS_Mixer_StreamAddChannel(Int32, Int32, BASSFlag) or BASS_Mixer_StreamAddChannelEx(Int32, Int32, BASSFlag, Int64, Int64)) beforehand).

Return Value

Type: Boolean
If successful, then is returned, else is returned. Use BASS_ErrorGetCode to get the error code.
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.

ERROR CODEDescription
BASS_ERROR_HANDLEThe channel is not plugged into a mixer.

See Also

Reference