*** empty log message ***
authorSam Lantinga <slouken@libsdl.org>
Mon, 15 Apr 2002 07:49:54 +0000
changeset 357 5868b0f832f2
parent 356 a1e54d1ba16f
child 358 1f148809d972
*** empty log message ***
src/audio/alsa/SDL_alsa_audio.c
--- 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;
 	}