.\" 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_Quit: .\" https://wiki.libsdl.org/SDL_mixer/Mix_Quit .\" 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_Quit .\" 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_Quit 3 "SDL_mixer 3.0.0" "SDL_mixer" "SDL_mixer3 FUNCTIONS" .SH NAME Mix_Quit \- Deinitialize SDL_mixer\[char46] .SH SYNOPSIS .nf .B #include \(dqSDL3_mixer/SDL_mixer.h\(dq .PP .BI "void Mix_Quit(void); .fi .SH DESCRIPTION This should be the last function you call in SDL_mixer, after freeing all other resources and closing all audio devices\[char46] This will unload any shared libraries it is using for various codecs\[char46] After this call, a call to .BR Mix_Init (0) will return 0 (no codecs loaded)\[char46] You can safely call .BR Mix_Init () to reload various codec support after this call\[char46] Unlike other SDL satellite libraries, calls to .BR Mix_Init do not stack; a single call to .BR Mix_Quit () will deinitialize everything and does not have to be paired with a matching .BR Mix_Init call\[char46] For that reason, it's considered best practices to have a single .BR Mix_Init and .BR Mix_Quit call in your program\[char46] While this isn't required, be aware of the risks of deviating from that behavior\[char46] .SH AVAILABILITY This function is available since SDL_mixer 3\[char46]0\[char46]0\[char46] .SH SEE ALSO .BR Mix_Init (3)