mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
jack: tweak names a little
Move the Description in the main node/port name. This then matches the device names seen in pavucontrol. Make the port alias contain the node nick.
This commit is contained in:
parent
e66cb18659
commit
60233e30a7
2 changed files with 15 additions and 7 deletions
|
|
@ -2113,8 +2113,8 @@ static void registry_event_global(void *data, uint32_t id,
|
|||
if ((str = spa_dict_lookup(props, PW_KEY_MEDIA_CLASS)) != NULL)
|
||||
o->node.is_bridge = strstr(str, "Bridge") != NULL;
|
||||
|
||||
if ((str = spa_dict_lookup(props, PW_KEY_NODE_NICK)) == NULL &&
|
||||
(str = spa_dict_lookup(props, PW_KEY_NODE_DESCRIPTION)) == NULL &&
|
||||
if ((str = spa_dict_lookup(props, PW_KEY_NODE_DESCRIPTION)) == NULL &&
|
||||
(str = spa_dict_lookup(props, PW_KEY_NODE_NICK)) == NULL &&
|
||||
(str = node_name) == NULL) {
|
||||
str = "node";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue