Skip to content

Commit

Permalink
There's no need to SDL_PauseAudio(1) before calling SDL_CloseAudio().
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Apr 14, 2018
1 parent 62acfb3 commit 2f62394
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion code/sdl/sdl_snd.c
Expand Up @@ -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);
Expand Down

0 comments on commit 2f62394

Please sign in to comment.