From 4a0f0ef703470f90970a1063adfc7a2e7e7a9527 Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Thu, 26 Feb 2009 20:35:10 +0100 Subject: alsa: no noise and scratch at shutdown --- dxr3audio-alsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dxr3audio-alsa.c') diff --git a/dxr3audio-alsa.c b/dxr3audio-alsa.c index a33359d..82ef727 100644 --- a/dxr3audio-alsa.c +++ b/dxr3audio-alsa.c @@ -55,7 +55,7 @@ void cAudioAlsa::releaseDevice() return; if (handle) { - snd_pcm_drain(handle); + snd_pcm_drop(handle); snd_pcm_close(handle); handle = NULL; } -- cgit v1.2.3