mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
* Add support for running the sink as a driver * Detect which compressed formats are actually supported * Correctly open/close/start/stop device according to the node commands * Shift away from tinycompress and use Compress-Offload ioctls directly to be able to access various caps information (including fragment sizes) which are unavailable in the tinycompress API * Implement SPA_PARAM_PropInfo and SPA_PARAM_Props support
59 lines
1.4 KiB
Meson
59 lines
1.4 KiB
Meson
subdir('acp')
|
|
subdir('mixer')
|
|
|
|
spa_alsa_dependencies = [ spa_dep, alsa_dep, libudev_dep, mathlib, epoll_shim_dep, libinotify_dep ]
|
|
|
|
spa_alsa_sources = ['alsa.c',
|
|
'alsa.h',
|
|
'alsa-udev.c',
|
|
'alsa-acp-device.c',
|
|
'alsa-pcm-device.c',
|
|
'alsa-pcm-sink.c',
|
|
'alsa-pcm-source.c',
|
|
'alsa-pcm.c',
|
|
'alsa-seq-bridge.c',
|
|
'alsa-seq.c']
|
|
|
|
if compress_offload_option.allowed()
|
|
spa_alsa_sources += [ 'alsa-compress-offload-sink.c', 'compress-offload-api.c' ]
|
|
endif
|
|
|
|
spa_alsa = shared_library(
|
|
'spa-alsa',
|
|
[ spa_alsa_sources ],
|
|
c_args : acp_c_args,
|
|
include_directories : [configinc],
|
|
dependencies : spa_alsa_dependencies,
|
|
link_with : [ acp_lib ],
|
|
install : true,
|
|
install_dir : spa_plugindir / 'alsa'
|
|
)
|
|
|
|
alsa_udevrules = [
|
|
'90-pipewire-alsa.rules',
|
|
]
|
|
|
|
executable('spa-acp-tool',
|
|
[ 'acp-tool.c' ],
|
|
c_args : acp_c_args,
|
|
dependencies : [ spa_dep, alsa_dep, mathlib, acp_dep ],
|
|
install : true,
|
|
)
|
|
|
|
executable('test-timer',
|
|
[ 'test-timer.c' ],
|
|
dependencies : [ spa_dep, alsa_dep, mathlib, epoll_shim_dep ],
|
|
install : false,
|
|
)
|
|
|
|
executable('test-hw-params',
|
|
[ 'test-hw-params.c' ],
|
|
dependencies : [ spa_dep, alsa_dep, mathlib ],
|
|
install : false,
|
|
)
|
|
|
|
if libudev_dep.found()
|
|
install_data(alsa_udevrules,
|
|
install_dir : udevrulesdir,
|
|
)
|
|
endif
|