Index: lib/sound/openal_track.c
===================================================================
--- lib/sound/openal_track.c	(revision 9443)
+++ lib/sound/openal_track.c	(working copy)
@@ -262,8 +262,9 @@
 	sound_GetContextError(device);
 
 	debug(LOG_SOUND, "close device");
-	alcCloseDevice(device);
-	sound_GetContextError(device);
+	if(alcCloseDevice(device) == ALC_FALSE ){
+		debug(LOG_SOUND, "OpenAl could not close the audio device." );
+	}
 #endif
 
 	while( aSample )

