This function is a legacy means of pausing the audio device.
Defined in SDL_audio.h
void SDL_PauseAudio(int pause_on);
int | pause_on | non-zero to pause, 0 to unpause. |
New programs might want to use SDL_PauseAudioDevice() instead. This function is equivalent to calling...
1, pause_on); SDL_PauseAudioDevice(
...and is only useful if you used the legacy SDL_OpenAudio() function.
This function is available since SDL 2.0.0.