1SDL_PauseAudio(3) SDL API Reference SDL_PauseAudio(3)
2
3
4
6 SDL_PauseAudio - Pauses and unpauses the audio callback processing
7
9 #include "SDL.h"
10
11 void SDL_PauseAudio(int pause_on);
12
14 This function pauses and unpauses the audio callback processing. It
15 should be called with pause_on=0 after opening the audio device to
16 start playing sound. This is so you can safely initialize data for your
17 callback function after opening the audio device. Silence will be writ‐
18 ten to the audio device during the pause.
19
21 SDL_GetAudioStatus, SDL_OpenAudio
22
23
24
25SDL Tue 11 Sep 2001, 22:58 SDL_PauseAudio(3)