From 416c65254bc9ccc5cdc7d6a4b8d0550e4b2d9041 Mon Sep 17 00:00:00 2001 From: Nedko Arnaudov Date: Mon, 22 Nov 2010 15:25:44 +0200 Subject: [PATCH] ladishd: use app name for a2j ports This fixes handling of apps that use random alsa client names. jack-rack for example, by default, uses PID as part of its alsa client name. This breaks backward compatibility. --- daemon/virtualizer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/virtualizer.c b/daemon/virtualizer.c index 04dd640d..33f9938a 100644 --- a/daemon/virtualizer.c +++ b/daemon/virtualizer.c @@ -572,7 +572,7 @@ port_appeared( } } - a2j_fake_jack_port_name = catdup4(alsa_client_name, is_input ? " (playback)" : " (capture)", ": ", alsa_port_name); + a2j_fake_jack_port_name = catdup4(vclient_name, is_input ? " (playback)" : " (capture)", ": ", alsa_port_name); if (a2j_fake_jack_port_name == NULL) { log_error("catdup4() failed");