mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-10-15 20:32:38 +00:00
alsa: Use "PipeWire ALSA" as the node name
So that it is easier to know it is the PipeWire one.
This commit is contained in:
parent
9de98df1b7
commit
e571c0bcb1
|
@ -911,11 +911,9 @@ static int snd_pcm_pipewire_open(snd_pcm_t **pcmp, const char *name,
|
||||||
pw->context = pw_context_new(loop, NULL, 0);
|
pw->context = pw_context_new(loop, NULL, 0);
|
||||||
|
|
||||||
props = pw_properties_new(NULL, NULL);
|
props = pw_properties_new(NULL, NULL);
|
||||||
str = pw_get_prgname();
|
|
||||||
if (str)
|
pw_properties_setf(props, PW_KEY_APP_NAME, "PipeWire ALSA [%s]",
|
||||||
pw_properties_setf(props, PW_KEY_APP_NAME, "ALSA plug-in [%s]", str);
|
pw_get_prgname());
|
||||||
else
|
|
||||||
pw_properties_set(props, PW_KEY_APP_NAME, "ALSA plug-in");
|
|
||||||
|
|
||||||
if (server_name)
|
if (server_name)
|
||||||
pw_properties_set(props, PW_KEY_REMOTE_NAME, server_name);
|
pw_properties_set(props, PW_KEY_REMOTE_NAME, server_name);
|
||||||
|
|
Loading…
Reference in a new issue