2020-05-15 19:42:15 +02:00
|
|
|
acp_sources = [
|
|
|
|
|
'acp.c',
|
|
|
|
|
'compat.c',
|
|
|
|
|
'alsa-mixer.c',
|
|
|
|
|
'alsa-ucm.c',
|
|
|
|
|
'alsa-util.c',
|
|
|
|
|
'conf-parser.c',
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
acp_c_args = [
|
|
|
|
|
'-DHAVE_ALSA_UCM',
|
|
|
|
|
'-DHAVE_READLINK',
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
acp_lib = static_library(
|
|
|
|
|
'acp',
|
|
|
|
|
acp_sources,
|
|
|
|
|
c_args : acp_c_args,
|
2021-12-28 16:04:06 +01:00
|
|
|
include_directories : [configinc, includes_inc ],
|
|
|
|
|
dependencies : [ spa_dep, alsa_dep, mathlib, ]
|
2020-07-06 12:58:33 +02:00
|
|
|
)
|
2021-09-20 08:59:49 +10:00
|
|
|
acp_dep = declare_dependency(link_with: acp_lib)
|
2025-10-04 16:31:01 +02:00
|
|
|
|
|
|
|
|
executable('test-alsa-path-select',
|
|
|
|
|
[ 'test-alsa-path-select.c' ],
|
|
|
|
|
c_args : acp_c_args,
|
|
|
|
|
include_directories : [configinc, includes_inc ],
|
|
|
|
|
dependencies : [ spa_dep, alsa_dep, mathlib, ],
|
|
|
|
|
link_with : [ acp_lib ],
|
|
|
|
|
install : false,
|
|
|
|
|
)
|