From d4071f8f94856c13de826af77e98375e015c7e1f Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 14 Mar 2014 14:46:54 +0100 Subject: Support libasound2 1.0.25 Because it's the one that is in debian stable right now --- configure.ac | 2 +- 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; } } -- cgit v1.2.3