.\" This manpage content is licensed under Creative Commons .\" Attribution 4.0 International (CC BY 4.0) .\" https://creativecommons.org/licenses/by/4.0/ .\" This manpage was generated from SDL_mixer's wiki page for Mix_Pause: .\" https://wiki.libsdl.org/SDL_mixer/Mix_Pause .\" Generated with SDL/build-scripts/wikiheaders.pl .\" revision 3~git20240319~12fb85e+ds-1 .\" Please report issues in this manpage's content at: .\" https://github.com/libsdl-org/sdlwiki/issues/new .\" Please report issues in the generation of this manpage from the wiki at: .\" https://github.com/libsdl-org/SDL/issues/new?title=Misgenerated%20manpage%20for%20Mix_Pause .\" SDL_mixer can be found at https://libsdl.org/projects/SDL_mixer .de URL \$2 \(laURL: \$1 \(ra\$3 .. .if \n[.g] .mso www.tmac .TH Mix_Pause 3 "SDL_mixer 3.0.0" "SDL_mixer" "SDL_mixer3 FUNCTIONS" .SH NAME Mix_Pause \- Pause a particular channel\[char46] .SH SYNOPSIS .nf .B #include \(dqSDL3_mixer/SDL_mixer.h\(dq .PP .BI "void Mix_Pause(int channel); .fi .SH DESCRIPTION Pausing a channel will prevent further playback of the assigned chunk but will maintain the chunk's current mixing position\[char46] When resumed, this channel will continue to mix the chunk where it left off\[char46] A paused channel can be resumed by calling .BR Mix_Resume ()\[char46] A paused channel with an expiration will not expire while paused (the expiration countdown will be adjusted once resumed)\[char46] It is legal to halt a paused channel\[char46] Playing a new chunk on a paused channel will replace the current chunk and unpause the channel\[char46] Specifying a channel of -1 will pause _all_ channels\[char46] Any music is unaffected\[char46] You may not specify MAX_CHANNEL_POST for a channel\[char46] .SH FUNCTION PARAMETERS .TP .I channel the channel to pause, or -1 to pause all channels\[char46] .SH AVAILABILITY This function is available since SDL_mixer 3\[char46]0\[char46]0\[char46]