diff --git a/src/display/graphics.cpp b/src/display/graphics.cpp index 102d1c35..204ae0d7 100644 --- a/src/display/graphics.cpp +++ b/src/display/graphics.cpp @@ -290,6 +290,9 @@ struct Movie // Periodically check the buffers until one is available while(true) { + // Quit if audio thread terminate request has been made + if (audioThreadTermReq) return; + alGetSourcei(audioSource, AL_BUFFERS_PROCESSED, &procBufs); if(procBufs > 0) break; SDL_Delay(AUDIO_SLEEP);