mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-21 07:00:08 -05:00
alsa-plugin: improve client name
This commit is contained in:
parent
1581b6cfce
commit
62cf8c6130
1 changed files with 2 additions and 5 deletions
|
|
@ -1275,11 +1275,8 @@ SND_CTL_PLUGIN_DEFINE_FUNC(pipewire)
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
||||||
str = pw_get_prgname();
|
pw_properties_setf(props, PW_KEY_APP_NAME, "PipeWire ALSA [%s]",
|
||||||
if (str)
|
pw_get_prgname());
|
||||||
pw_properties_setf(props, PW_KEY_APP_NAME, "ALSA plug-in [%s]", str);
|
|
||||||
else
|
|
||||||
pw_properties_set(props, PW_KEY_APP_NAME, "ALSA plug-in");
|
|
||||||
|
|
||||||
if (server)
|
if (server)
|
||||||
pw_properties_set(props, PW_KEY_REMOTE_NAME, server);
|
pw_properties_set(props, PW_KEY_REMOTE_NAME, server);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue