summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/AlsaInput.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AlsaInput.h b/src/AlsaInput.h
index eb02ec1..86844d0 100644
--- a/src/AlsaInput.h
+++ b/src/AlsaInput.h
@@ -49,7 +49,7 @@ class AlsaInput
~AlsaInput() {
if (m_alsa_handle) {
- snd_pcm_abort(m_alsa_handle);
+ snd_pcm_close(m_alsa_handle);
m_alsa_handle = NULL;
}
}