From d76b509995df5277ad82185e2307610ca954a699 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 3 Aug 2020 18:13:31 +0200 Subject: jack: prefer nick for node name The nick is shorter and nicer for jack applications. We have the full description in the port alias 2. --- pipewire-jack/src/pipewire-jack.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pipewire-jack/src/pipewire-jack.c b/pipewire-jack/src/pipewire-jack.c index f6a0f3ec..4139da41 100644 --- a/pipewire-jack/src/pipewire-jack.c +++ b/pipewire-jack/src/pipewire-jack.c @@ -2015,8 +2015,8 @@ static void registry_event_global(void *data, uint32_t id, app = spa_dict_lookup(props, PW_KEY_APP_NAME); - if ((str = spa_dict_lookup(props, PW_KEY_NODE_DESCRIPTION)) == NULL && - (str = spa_dict_lookup(props, PW_KEY_NODE_NICK)) == NULL && + if ((str = spa_dict_lookup(props, PW_KEY_NODE_NICK)) == NULL && + (str = spa_dict_lookup(props, PW_KEY_NODE_DESCRIPTION)) == NULL && (str = spa_dict_lookup(props, PW_KEY_NODE_NAME)) == NULL) { str = "node"; } -- cgit v1.2.3