mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
spa: add audio.layout property
Makes it possible to define audio channels and position with a predefined layout string. It is easier and less error prone to say "5.1" than to spell out [ FL FR FC LFE RL RR ]. AUX channels have a special syntax. AUX<N> will make <N> AUX channels. Easier to say AUX128 than to write an array with the 128 AUX channels.
This commit is contained in:
parent
056f257058
commit
8ba08f3029
7 changed files with 151 additions and 0 deletions
|
|
@ -843,6 +843,9 @@ The audio format to open the device in. By default this is "UNKNOWN", which will
|
|||
@PAR@ node-prop audio.position # JSON array of strings
|
||||
The audio position of the channels in the device. This is auto detected based on the profile. You can configure an array of channel positions, like "[ FL, FR ]".
|
||||
|
||||
@PAR@ node-prop audio.layout # string
|
||||
The audio layout of the channels in the device. You can use any of the predefined layouts, like "Stereo", "5.1" etc.
|
||||
|
||||
@PAR@ node-prop audio.allowed-rates # JSON array of integers
|
||||
\parblock
|
||||
The allowed audio rates to open the device with. Default is "[ ]", which means the device can be opened in any supported rate.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue