BASS_ChannelPause

Pauses a sample, stream, MOD music, or CD channel.

BOOL WINAPI BASS_ChannelPause(
    DWORD handle
);

Parameters
handleThe channel handle... a HCHANNEL, HMUSIC, HSTREAM, or CDCHANNEL.

Return value
If successful, TRUE is returned, else FALSE is returned. Use BASS_ErrorGetCode to get the error code.

Error codes
BASS_ERROR_NOPLAYThe channel is not playing (or handle is not a valid channel).

Remarks
Use BASS_ChannelResume to resume playback of a paused channel. BASS_ChannelStop can be used to stop a paused channel.

See also
BASS_ChannelResume, BASS_ChannelStop