mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
modules: support audio.layout where we can
This commit is contained in:
parent
8ba08f3029
commit
ff0bc22cb1
28 changed files with 116 additions and 7 deletions
|
|
@ -72,6 +72,7 @@
|
|||
* - \ref PW_KEY_AUDIO_RATE
|
||||
* - \ref PW_KEY_AUDIO_FORMAT
|
||||
* - \ref PW_KEY_AUDIO_CHANNELS
|
||||
* - \ref SPA_KEY_AUDIO_LAYOUT
|
||||
* - \ref SPA_KEY_AUDIO_POSITION
|
||||
* - \ref PW_KEY_NODE_LATENCY
|
||||
* - \ref PW_KEY_NODE_RATE
|
||||
|
|
@ -831,6 +832,7 @@ static int parse_audio_info(const struct pw_properties *props, struct spa_audio_
|
|||
SPA_KEY_AUDIO_FORMAT,
|
||||
SPA_KEY_AUDIO_RATE,
|
||||
SPA_KEY_AUDIO_CHANNELS,
|
||||
SPA_KEY_AUDIO_LAYOUT,
|
||||
SPA_KEY_AUDIO_POSITION, NULL)) < 0)
|
||||
return res;
|
||||
|
||||
|
|
@ -888,6 +890,7 @@ static int parse_params(struct impl *impl)
|
|||
copy_props(impl, PW_KEY_AUDIO_FORMAT);
|
||||
copy_props(impl, PW_KEY_AUDIO_RATE);
|
||||
copy_props(impl, PW_KEY_AUDIO_CHANNELS);
|
||||
copy_props(impl, SPA_KEY_AUDIO_LAYOUT);
|
||||
copy_props(impl, SPA_KEY_AUDIO_POSITION);
|
||||
copy_props(impl, PW_KEY_NODE_RATE);
|
||||
copy_props(impl, PW_KEY_NODE_NAME);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue