(This function is part of SDL_mixer, a separate library from SDL.)

Mix_PauseAudio

Suspend or resume the whole audio output.

Header File

Defined in SDL_mixer.h

Syntax

void Mix_PauseAudio(int pause_on);

Function Parameters

pause_on 1 to pause audio output, or 0 to resume.

Version

This function is available since SDL_mixer 3.0.0.


CategoryAPI, CategoryAPIFunction