alsa-acp: Add libacp based card device

libacp is a port and wrapper around the pulseaudio card profile code.
It uses a set of templates for construct a card profile and mixer port
settings. It also has support for UCM when available for the hardware.
This commit is contained in:
Wim Taymans 2020-05-15 19:42:15 +02:00
parent 5c6247daef
commit 1612f5e4d2
31 changed files with 15304 additions and 11 deletions

View file

@ -1,5 +1,8 @@
subdir('acp')
spa_alsa_sources = ['alsa.c',
'alsa-udev.c',
'alsa-acp-device.c',
'alsa-pcm-device.c',
'alsa-pcm-sink.c',
'alsa-pcm-source.c',
@ -7,9 +10,13 @@ spa_alsa_sources = ['alsa.c',
'alsa-seq-source.c',
'alsa-seq.c']
spa_alsa = shared_library('spa-alsa',
spa_alsa_sources,
include_directories : [spa_inc],
dependencies : [ alsa_dep, libudev_dep, mathlib, ],
install : true,
install_dir : join_paths(spa_plugindir, 'alsa'))
spa_alsa = shared_library(
'spa-alsa',
[ spa_alsa_sources ],
c_args : acp_c_args,
include_directories : [spa_inc, configinc],
dependencies : [ alsa_dep, libudev_dep, mathlib ],
link_with : [ acp_lib ],
install : true,
install_dir : join_paths(spa_plugindir, 'alsa')
)