summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2009-02-26 20:35:10 +0100
committerChristian Gmeiner <christian.gmeiner@gmail.com>2009-02-26 20:35:10 +0100
commit4a0f0ef703470f90970a1063adfc7a2e7e7a9527 (patch)
tree584cae4d7f8e3c78c83ebba4e812de06d456045c
parent97f10a3eaed0139cc7e087059043090458450cb9 (diff)
downloadvdr-plugin-dxr3-4a0f0ef703470f90970a1063adfc7a2e7e7a9527.tar.gz
vdr-plugin-dxr3-4a0f0ef703470f90970a1063adfc7a2e7e7a9527.tar.bz2
alsa: no noise and scratch at shutdown
-rw-r--r--dxr3audio-alsa.c2
1 files changed, 1 insertions, 1 deletions
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;
}