mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-13 00:24:10 +00:00
There's no need to SDL_PauseAudio(1) before calling SDL_CloseAudio().
This commit is contained in:
parent
62acfb3348
commit
2f62394174
1 changed files with 0 additions and 1 deletions
|
@ -262,7 +262,6 @@ SNDDMA_Shutdown
|
||||||
void SNDDMA_Shutdown(void)
|
void SNDDMA_Shutdown(void)
|
||||||
{
|
{
|
||||||
Com_Printf("Closing SDL audio device...\n");
|
Com_Printf("Closing SDL audio device...\n");
|
||||||
SDL_PauseAudio(1);
|
|
||||||
SDL_CloseAudio();
|
SDL_CloseAudio();
|
||||||
SDL_QuitSubSystem(SDL_INIT_AUDIO);
|
SDL_QuitSubSystem(SDL_INIT_AUDIO);
|
||||||
free(dma.buffer);
|
free(dma.buffer);
|
||||||
|
|
Loading…
Reference in a new issue