There's no need to SDL_PauseAudio(1) before calling SDL_CloseAudio().
This commit is contained in:
1 parent
62acfb3348
commit
2f62394174
1 file changed
-1
@@ -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);
|
||||||
|
|||||||
Reference in new issue
Block a user