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:
parent
4248abe1d7
commit
416c65254b
|
@ -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)
|
if (a2j_fake_jack_port_name == NULL)
|
||||||
{
|
{
|
||||||
log_error("catdup4() failed");
|
log_error("catdup4() failed");
|
||||||
|
|
Loading…
Reference in New Issue