diff options
author | Bobby Bingham <koorogi@koorogi.info> | 2023-06-15 23:03:15 -0500 |
---|---|---|
committer | Bobby Bingham <koorogi@koorogi.info> | 2023-06-16 08:10:59 -0500 |
commit | c9092132fd7020cdb6f39aa7ed749f695fb98d26 (patch) | |
tree | bb3877b98b157ada1df79610ad81fb5fe8c24b24 /config.h.cmake | |
parent | adebb5ae263a5cd3569038a018dabea4f4eccc6e (diff) | |
download | arts-c9092132fd7020cdb6f39aa7ed749f695fb98d26.tar.gz arts-c9092132fd7020cdb6f39aa7ed749f695fb98d26.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>
Diffstat (limited to 'config.h.cmake')
-rw-r--r-- | config.h.cmake | 2 |
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 |