diff src/audio/alsa/SDL_alsa_audio.c @ 357:5868b0f832f2

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Mon, 15 Apr 2002 07:49:54 +0000
parents a1e54d1ba16f
children 5d07f9a47f17
line wrap: on
line diff
--- a/src/audio/alsa/SDL_alsa_audio.c	Mon Apr 15 07:47:35 2002 +0000
+++ b/src/audio/alsa/SDL_alsa_audio.c	Mon Apr 15 07:49:54 2002 +0000
@@ -187,6 +187,7 @@
 		mixbuf = NULL;
 	}
 	if ( pcm_handle ) {
+		snd_pcm_drain(pcm_handle);
 		snd_pcm_close(pcm_handle);
 		pcm_handle = NULL;
 	}