mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
alsa-compress-offload-sink: major sink rework
* 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
This commit is contained in:
parent
f03c606ad9
commit
031f992981
6 changed files with 1941 additions and 695 deletions
|
|
@ -92,9 +92,9 @@ if get_option('spa-plugins').allowed()
|
|||
libcamera_dep = dependency('libcamera', required: get_option('libcamera'))
|
||||
summary({'libcamera': libcamera_dep.found()}, bool_yn: true, section: 'Backend')
|
||||
|
||||
tinycompress_dep = cc.find_library('tinycompress', has_headers: ['tinycompress/tinycompress.h' ], required: get_option('compress-offload'))
|
||||
summary({'Compress-Offload': tinycompress_dep.found()}, bool_yn: true, section: 'Backend')
|
||||
cdata.set('HAVE_ALSA_COMPRESS_OFFLOAD', tinycompress_dep.found())
|
||||
compress_offload_option = get_option('compress-offload')
|
||||
summary({'Compress-Offload': compress_offload_option.allowed()}, bool_yn: true, section: 'Backend')
|
||||
cdata.set('HAVE_ALSA_COMPRESS_OFFLOAD', compress_offload_option.allowed())
|
||||
|
||||
# common dependencies
|
||||
libudev_dep = dependency('libudev', required: alsa_dep.found() or get_option('udev').enabled() or get_option('v4l2').enabled())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue