Pause playing of a group of channels by arbitrary tag.
Defined in <SDL3_mixer/SDL_mixer.h>
void Mix_PauseGroup(int tag);
int | tag | an arbitrary value, assigned to channels, to search for. |
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.