mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-11-23 10:36:24 +00:00
Add SDL_PlayAudioDevice() to play audio. Remove pause_on param from SDL_PauseAudioDevice()
This commit is contained in:
@@ -123,7 +123,7 @@ int main(int argc, char *argv[])
|
||||
/*static x[99999]; SDL_QueueAudio(1, x, sizeof (x));*/
|
||||
|
||||
/* Let the audio run */
|
||||
SDL_PauseAudioDevice(g_audio_id, 0);
|
||||
SDL_PlayAudioDevice(g_audio_id);
|
||||
|
||||
done = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user