mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
pulse-server: handle channel_map null-sink option
This commit is contained in:
parent
53adabea19
commit
e2f0ab5710
1 changed files with 4 additions and 0 deletions
|
|
@ -179,6 +179,10 @@ static int load_module(struct client *client, const char *name, const char *argu
|
|||
pw_properties_set(props, "audio.rate", str);
|
||||
pw_properties_set(props, "rate", NULL);
|
||||
}
|
||||
if ((str = pw_properties_get(props, "channel_map")) != NULL) {
|
||||
pw_properties_set(props, "audio.position", str);
|
||||
pw_properties_set(props, "channel_map", NULL);
|
||||
}
|
||||
if ((str = pw_properties_get(props, "device.description")) != NULL) {
|
||||
pw_properties_set(props, "node.description", str);
|
||||
pw_properties_set(props, "device.description", NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue