mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
alsa: set application.name
This commit is contained in:
parent
44919c83fc
commit
b9241b1d73
1 changed files with 1 additions and 0 deletions
|
|
@ -457,6 +457,7 @@ static int snd_pcm_pipewire_prepare(snd_pcm_ioplug_t *io)
|
||||||
goto error;
|
goto error;
|
||||||
|
|
||||||
pw_properties_set(props, PW_KEY_CLIENT_API, "alsa");
|
pw_properties_set(props, PW_KEY_CLIENT_API, "alsa");
|
||||||
|
pw_properties_setf(props, PW_KEY_APP_NAME, "%s", pw_get_prgname());
|
||||||
|
|
||||||
if (pw_properties_get(props, PW_KEY_NODE_LATENCY) == NULL)
|
if (pw_properties_get(props, PW_KEY_NODE_LATENCY) == NULL)
|
||||||
pw_properties_setf(props, PW_KEY_NODE_LATENCY, "%lu/%u", pw->min_avail, io->rate);
|
pw_properties_setf(props, PW_KEY_NODE_LATENCY, "%lu/%u", pw->min_avail, io->rate);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue