Pause playing of a group of channels by arbitrary tag.
Defined in SDL_mixer.h
tag | an arbitrary value, assigned to channels, to search for. |
Returns zero, whether any channels were halted or not.
Pausing a channel will prevent further playback of the assigned chunk but will maintain the chunk's current mixing position. When resumed, this channel will continue to mix the chunk where it left off.
A paused channel can be resumed by calling Mix_Resume() or Mix_ResumeGroup().
A paused channel with an expiration will not expire while paused (the expiration countdown will be adjusted once resumed).
A tag is an arbitrary number that can be assigned to several mixer channels, to form groups of channels.
The default tag for a channel is -1.
This function is available since SDL_mixer 3.0.0.