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.
This commit is contained in:
Nedko Arnaudov 2010-11-22 15:25:44 +02:00
parent 4248abe1d7
commit 416c65254b
1 changed files with 1 additions and 1 deletions

View File

@ -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");