From b09a9e374bbadb8d8cc2a4664e219c21186ff824 Mon Sep 17 00:00:00 2001 From: johns <> Date: Sat, 3 Jun 2000 19:36:25 +0000 Subject: [PATCH] Added SDL_CloseAudio and QuitSound call. --- src/sound/sound_server.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/sound/sound_server.cpp b/src/sound/sound_server.cpp index af5a86dcc..91b5cbc0f 100644 --- a/src/sound/sound_server.cpp +++ b/src/sound/sound_server.cpp @@ -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