BASS.NET API for the Un4seen BASS Audio LibraryBassMixBASS_Mixer_ChannelPause Method BASS.NET API for the Un4seen BASS Audio Library
Pauses a mixer source channel (don't process the source).

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

public static bool BASS_Mixer_ChannelPause(
	int handle


Type: SystemInt32
The handle of the mixer source channel to pause (which was add via BASS_Mixer_StreamAddChannel(Int32, Int32, BASSFlag) or 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.

Use this method to pause a mixer source channel currently playing (which stops the mixer from processing that source). Use BASS_Mixer_ChannelPlay(Int32) to resume a paused mixer source channel.

ERROR CODEDescription
BASS_ERROR_HANDLEThe channel is not plugged into a mixer.
BASS_ERROR_SPEAKERThe mixer does not support the requested speaker(s), or the channel has matrix mixing enabled.

See Also