BASS_ChannelPause
Pauses a sample, stream, MOD music, or recording.
BOOL BASS_ChannelPause(
DWORD handle
);
Parameters
handle | The channel handle... a HCHANNEL, HMUSIC, HSTREAM, or HRECORD.
|
Return value
If successful, TRUE is returned, else FALSE is returned. Use BASS_ErrorGetCode to get the error code.
Error codes
BASS_ERROR_HANDLE | handle is not a valid channel.
|
BASS_ERROR_DECODE | handle is a decoding channel, so cannot be played or paused.
|
BASS_ERROR_NOPLAY | The channel is not playing.
|
Remarks
Use BASS_ChannelStart to resume a paused channel. BASS_ChannelStop can be used to stop a paused channel.
See also
BASS_ChannelIsActive, BASS_ChannelStart, BASS_ChannelStop