summaryrefslogtreecommitdiffstats
path: root/config.h.cmake
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2023-06-15 23:03:15 -0500
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-06-17 14:08:46 +0900
commiteb439ea63b0aba3b77e15ba5bef54771f9d00584 (patch)
tree8997a186effa6128a95024e724d55ea4c0e87867 /config.h.cmake
parentfc763a04fd135d51339e3d8cab9ac6043a365b30 (diff)
downloadarts-eb439ea6.tar.gz
arts-eb439ea6.zip
Update ALSA support to use 1.x API
Despite the comment in ConfigureChecks.cmake which claimed only ALSA 1.x was supported, the code requested and expected the 0.9 version of some PCM APIs. These old APIs were superceded in 2002. ALSA implements backwards compatibility with the old version of the API using symbol versioning, which is not supported on all platforms (e.g., musl does not support it). This fixes issue #5 Signed-off-by: Bobby Bingham <koorogi@koorogi.info> (cherry picked from commit c9092132fd7020cdb6f39aa7ed749f695fb98d26)
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake2
1 files changed, 0 insertions, 2 deletions
diff --git a/config.h.cmake b/config.h.cmake
index 7c2f7c8..8527cdc 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -35,8 +35,6 @@
#cmakedefine HAVE_LIBASOUND2 1
#cmakedefine HAVE_ALSA_ASOUNDLIB_H 1
#cmakedefine HAVE_SND_PCM_RESUME 1
-#cmakedefine ALSA_PCM_OLD_SW_PARAMS_API 1
-#cmakedefine ALSA_PCM_OLD_HW_PARAMS_API 1
#cmakedefine HAVE_SYS_SOUNDCARD_H 1
#cmakedefine HAVE_LIBPTHREAD 1