mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
alsa-compress-offload: Add device object and udev based autodetection
As part of this, in alsa-udev.c, certain structures and variables referred to as "device" are renamed to "card". Otherwise, there is ambiguity, since "device" can mean a udev device, an SPA device, a compress-offload device, a PCM device etc. Also, replace "card id" with "card number" to emphasize that these integers are not actually SPA object IDs.
This commit is contained in:
parent
ae4bff78a3
commit
8e6d070148
8 changed files with 1050 additions and 237 deletions
|
|
@ -15,7 +15,10 @@ spa_alsa_sources = ['alsa.c',
|
|||
'alsa-seq.c']
|
||||
|
||||
if compress_offload_option.allowed()
|
||||
spa_alsa_sources += [ 'alsa-compress-offload-sink.c', 'compress-offload-api.c' ]
|
||||
spa_alsa_sources += ['alsa-compress-offload-sink.c',
|
||||
'alsa-compress-offload-device.c',
|
||||
'compress-offload-api-util.c',
|
||||
'compress-offload-api.c']
|
||||
endif
|
||||
|
||||
spa_alsa = shared_library(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue