mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
pulse-server: set default channel_map
Set a default channel map when not otherwise set. Makes pulseeffects work.
This commit is contained in:
parent
ec9dfe72ff
commit
7ae1ea1420
1 changed files with 2 additions and 0 deletions
|
|
@ -196,6 +196,8 @@ static int load_module(struct client *client, const char *name, const char *argu
|
|||
channel_id2name(map.map[i]));
|
||||
pw_properties_set(props, SPA_KEY_AUDIO_POSITION, s);
|
||||
pw_properties_set(props, "channel_map", NULL);
|
||||
} else if (pw_properties_get(props, SPA_KEY_AUDIO_POSITION) == NULL) {
|
||||
pw_properties_set(props, SPA_KEY_AUDIO_POSITION, "FL,FR");
|
||||
}
|
||||
if ((str = pw_properties_get(props, "device.description")) != NULL) {
|
||||
pw_properties_set(props, PW_KEY_NODE_DESCRIPTION, str);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue