summaryrefslogtreecommitdiffstats
path: root/src/AlsaInput.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-03-14 14:46:54 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-03-14 14:46:54 +0100
commitd4071f8f94856c13de826af77e98375e015c7e1f (patch)
tree816537966c9c719cf53948c370f77f116d46ed0b /src/AlsaInput.h
parentc8aae2989c0b74d75f43bc08219459efbcc53d6f (diff)
downloadODR-AudioEnc-d4071f8f94856c13de826af77e98375e015c7e1f.tar.gz
ODR-AudioEnc-d4071f8f94856c13de826af77e98375e015c7e1f.tar.bz2
ODR-AudioEnc-d4071f8f94856c13de826af77e98375e015c7e1f.zip
Support libasound2 1.0.25
Because it's the one that is in debian stable right now
Diffstat (limited to 'src/AlsaInput.h')
-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;
}
}