Commit b02d1f64 authored by Sam Lantinga's avatar Sam Lantinga

*** empty log message ***

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40358
parent 1539d367
...@@ -187,6 +187,7 @@ static void ALSA_CloseAudio(_THIS) ...@@ -187,6 +187,7 @@ static void ALSA_CloseAudio(_THIS)
mixbuf = NULL; mixbuf = NULL;
} }
if ( pcm_handle ) { if ( pcm_handle ) {
snd_pcm_drain(pcm_handle);
snd_pcm_close(pcm_handle); snd_pcm_close(pcm_handle);
pcm_handle = NULL; pcm_handle = NULL;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment