changeset 357:5868b0f832f2

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Mon, 15 Apr 2002 07:49:54 +0000
parents a1e54d1ba16f
children 1f148809d972
files src/audio/alsa/SDL_alsa_audio.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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;
 	}