mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
PIPEWIRE_LATENCY always overrides app settings
This commit is contained in:
parent
a5dc2493df
commit
71e37f93f3
3 changed files with 5 additions and 10 deletions
|
|
@ -2517,8 +2517,7 @@ jack_client_t * jack_client_open (const char *client_name,
|
|||
pw_properties_set(client->props, PW_KEY_MEDIA_CATEGORY, "Duplex");
|
||||
if (pw_properties_get(client->props, PW_KEY_MEDIA_ROLE) == NULL)
|
||||
pw_properties_set(client->props, PW_KEY_MEDIA_ROLE, "DSP");
|
||||
if (pw_properties_get(client->props, PW_KEY_NODE_LATENCY) == NULL &&
|
||||
(str = getenv("PIPEWIRE_LATENCY")) != NULL)
|
||||
if ((str = getenv("PIPEWIRE_LATENCY")) != NULL)
|
||||
pw_properties_set(client->props, PW_KEY_NODE_LATENCY, str);
|
||||
if (pw_properties_get(client->props, PW_KEY_NODE_ALWAYS_PROCESS) == NULL)
|
||||
pw_properties_set(client->props, PW_KEY_NODE_ALWAYS_PROCESS, "true");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue