man: update man page

Add PIPEWIRE_CONFIG_PREFIX environment variable as well
This commit is contained in:
Wim Taymans 2021-02-12 09:49:02 +01:00
parent a243d126db
commit 58d2fe4440
2 changed files with 6 additions and 3 deletions

View file

@ -199,7 +199,9 @@ struct pw_context *pw_context_new(struct pw_loop *main_loop,
goto error_free;
}
conf_prefix = pw_properties_get(properties, PW_KEY_CONFIG_PREFIX);
conf_prefix = getenv("PIPEWIRE_CONFIG_PREFIX");
if (conf_prefix == NULL)
conf_prefix = pw_properties_get(properties, PW_KEY_CONFIG_PREFIX);
conf_name = getenv("PIPEWIRE_CONFIG_NAME");
if (conf_name == NULL)