There's no need to SDL_PauseAudio(1) before calling SDL_CloseAudio().

This commit is contained in:
Ryan C. Gordon 2018-04-13 21:32:51 -04:00
parent 62acfb3348
commit 2f62394174

View file

@ -262,7 +262,6 @@ SNDDMA_Shutdown
void SNDDMA_Shutdown(void)
{
Com_Printf("Closing SDL audio device...\n");
SDL_PauseAudio(1);
SDL_CloseAudio();
SDL_QuitSubSystem(SDL_INIT_AUDIO);
free(dma.buffer);