diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-03-14 14:46:54 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-03-14 14:46:54 +0100 |
commit | d4071f8f94856c13de826af77e98375e015c7e1f (patch) | |
tree | 816537966c9c719cf53948c370f77f116d46ed0b | |
parent | c8aae2989c0b74d75f43bc08219459efbcc53d6f (diff) | |
download | fdk-aac-d4071f8f94856c13de826af77e98375e015c7e1f.tar.gz fdk-aac-d4071f8f94856c13de826af77e98375e015c7e1f.tar.bz2 fdk-aac-d4071f8f94856c13de826af77e98375e015c7e1f.zip |
Support libasound2 1.0.25
Because it's the one that is in debian stable right now
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | src/AlsaInput.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 1c80c78..51907c7 100644 --- a/configure.ac +++ b/configure.ac @@ -21,7 +21,7 @@ AC_CHECK_LIB([boost_thread], [main], [], [AC_MSG_ERROR([library boost_thread is AC_CHECK_LIB([rt], [clock_gettime], [], [AC_MSG_ERROR([library rt is missing])]) -AM_PATH_ALSA(1.0.27) +AM_PATH_ALSA(1.0.25) # fdk-aac-dabplus-zmq needs ZeroMQ 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; } } |