BASS.NET API for the Un4seen BASS Audio LibraryBassMixBASS_Mixer_ChannelPlay Method BASS.NET API for the Un4seen BASS Audio Library
Starts (or resumes) playback of a mixer source channel (process the source).

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

public static bool BASS_Mixer_ChannelPlay(
	int handle


Type: SystemInt32
The handle of the mixer source channel to play (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.

If the mixer source channel is already playing this method has no effect - else it removes the BASS_MIXER_PAUSE flag from the mixer source channel. Use BASS_Mixer_ChannelPause(Int32) to pause a 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