aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--src/AlsaInput.h2
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;
}
}