mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-02 22:11:22 +00:00
snd_sdl.c: remove superfluous SDL_PauseAudio() and SDL_LockAudio() calls from the Shutdown() proc.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1173 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
1eb675b5b3
commit
b6570041e3
1 changed files with 1 additions and 3 deletions
|
@ -195,12 +195,10 @@ void SNDDMA_Shutdown (void)
|
|||
if (shm)
|
||||
{
|
||||
Con_Printf ("Shutting down SDL sound\n");
|
||||
SDL_PauseAudio(1);
|
||||
SDL_LockAudio ();
|
||||
SDL_CloseAudio();
|
||||
SDL_QuitSubSystem(SDL_INIT_AUDIO);
|
||||
if (shm->buffer)
|
||||
free (shm->buffer);
|
||||
SDL_QuitSubSystem(SDL_INIT_AUDIO);
|
||||
shm->buffer = NULL;
|
||||
shm = NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue