diff options
author | Bobby Bingham <koorogi@koorogi.info> | 2023-06-15 23:03:15 -0500 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-06-17 14:08:46 +0900 |
commit | eb439ea63b0aba3b77e15ba5bef54771f9d00584 (patch) | |
tree | 8997a186effa6128a95024e724d55ea4c0e87867 /ConfigureChecks.cmake | |
parent | fc763a04fd135d51339e3d8cab9ac6043a365b30 (diff) | |
download | arts-eb439ea63b0aba3b77e15ba5bef54771f9d00584.tar.gz arts-eb439ea63b0aba3b77e15ba5bef54771f9d00584.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 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 5e3fb98..08fe29b 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -105,11 +105,7 @@ if( WITH_ALSA ) if( ALSA_FOUND ) - # there is support only for ALSA 1.x - set( HAVE_LIBASOUND2 1 ) - set( ALSA_PCM_OLD_SW_PARAMS_API 1 ) - set( ALSA_PCM_OLD_HW_PARAMS_API 1 ) check_include_file( "alsa/asoundlib.h" HAVE_ALSA_ASOUNDLIB_H ) if( NOT HAVE_ALSA_ASOUNDLIB_H ) |