mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
spa: acp: get and emit UCM information for SplitPCM devices
When api.alsa.split-enable=true for ACP device, instruct UCM to not use alsa-lib plugins for SplitPCM devices. Grab the information from UCM for the intended channel remapping, and add the splitting information to the nodes emitted. Session manager can then look at that, and load nodes to do the channel splitting.
This commit is contained in:
parent
7c7a54dd87
commit
dcccfcab7f
12 changed files with 422 additions and 22 deletions
|
|
@ -713,6 +713,11 @@ Normally, the maximum amount of channels will be used but with this setting
|
|||
this can be reduced, which can make it possible to use other samplerates on
|
||||
some devices.
|
||||
|
||||
@PAR@ device-prop api.alsa.split-enable # boolean
|
||||
\parblock
|
||||
\copydoc SPA_KEY_API_ALSA_SPLIT_ENABLE
|
||||
\endparblock
|
||||
|
||||
## Node properties
|
||||
|
||||
@PAR@ node-prop audio.channels # integer
|
||||
|
|
@ -796,6 +801,36 @@ UNDOCUMENTED
|
|||
Enable only specific IEC958 codecs. This can be used to disable some codecs the hardware supports.
|
||||
Available values: PCM, AC3, DTS, MPEG, MPEG2-AAC, EAC3, TRUEHD, DTSHD
|
||||
|
||||
@PAR@ device-prop api.alsa.split.parent # boolean
|
||||
\parblock
|
||||
\copydoc SPA_KEY_API_ALSA_SPLIT_PARENT
|
||||
\endparblock
|
||||
|
||||
@PAR@ node-prop api.alsa.split.position # JSON
|
||||
\parblock
|
||||
\copybrief SPA_KEY_API_ALSA_SPLIT_POSITION
|
||||
Informative property.
|
||||
\endparblock
|
||||
|
||||
@PAR@ node-prop api.alsa.split.leader # boolean
|
||||
\parblock
|
||||
\copybrief SPA_KEY_API_ALSA_SPLIT_LEADER
|
||||
Informative property.
|
||||
\endparblock
|
||||
|
||||
@PAR@ node-prop api.alsa.split.hw-channels # int
|
||||
\parblock
|
||||
\copybrief SPA_KEY_API_ALSA_SPLIT_HW_CHANNELS
|
||||
Informative property.
|
||||
\endparblock
|
||||
|
||||
@PAR@ node-prop api.alsa.split.hw-position # JSON
|
||||
\parblock
|
||||
\copybrief SPA_KEY_API_ALSA_SPLIT_HW_POSITION
|
||||
Informative property.
|
||||
\endparblock
|
||||
|
||||
|
||||
# BLUETOOTH PROPERTIES @IDX@ props
|
||||
|
||||
## Monitor properties
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue