BASS.NET API for the Un4seen BASS Audio LibraryBassBASS_ChannelPause Method BASS.NET API for the Un4seen BASS Audio Library
Pauses a sample, stream, MOD music, or recording.

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

public static bool BASS_ChannelPause(
	int handle


Type: SystemInt32
The channel handle... a HCHANNEL / HMUSIC / HSTREAM / HRECORD handle.

Return Value

Type: Boolean
If successful, is returned, else is returned. Use BASS_ErrorGetCode to get the error code.

Use BASS_ChannelPlay(Int32, Boolean) to resume a paused channel. BASS_ChannelStop(Int32) can be used to stop a paused channel.

ERROR CODEDescription
BASS_ERROR_NOPLAYThe channel is not playing (or handle is not a valid channel).
BASS_ERROR_DECODEThe channel is not playable, it's a "decoding channel".
BASS_ERROR_ALREADYThe channel is already paused.

See Also