Added SDL_CloseAudio and QuitSound call.
This commit is contained in:
parent
856185fcab
commit
b09a9e374b
1 changed files with 11 additions and 0 deletions
|
@ -1119,6 +1119,17 @@ global int InitSoundServer()
|
|||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
** Cleanup sound server.
|
||||
*/
|
||||
global void QuitSound(void)
|
||||
{
|
||||
#ifdef USE_SDLA
|
||||
SDL_CloseAudio();
|
||||
#else
|
||||
// FIXME: cleanup code
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif // } WITH_SOUND
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue