From 5232d5e97f931b85573c04ef9f46dfb939019804 Mon Sep 17 00:00:00 2001 From: andreja6 Date: Tue, 1 May 2018 23:56:32 -0700 Subject: [PATCH] No longer exit on audio failure --- AudioPlayer.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/AudioPlayer.cpp b/AudioPlayer.cpp index 92556c1..5c5e595 100644 --- a/AudioPlayer.cpp +++ b/AudioPlayer.cpp @@ -32,7 +32,6 @@ void AudioPlayer::init() /* Open the audio device and start playing sound! */ if ( SDL_OpenAudio(&fmt, NULL) < 0 ) { fprintf(stderr, "Unable to open audio: %s\n", SDL_GetError()); - exit(1); } SDL_PauseAudio(0); }