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_NOPLAY | The channel is not playing (or handle is not a valid channel).
|
BASS_ERROR_DECODE | The channel is not playable; it is a "decoding channel".
|
BASS_ERROR_ALREADY | The channel is already paused.
|
Remarks
Use
BASS_ChannelPlay to resume a paused channel.
BASS_ChannelStop can be used to stop a paused channel.
See also
BASS_ChannelIsActive,
BASS_ChannelPlay,
BASS_ChannelStop