mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-03-26 07:58:03 -04:00
conf: remove client-rt.conf
We now automatically move non-rt clients into non-rt threads so the client-rt.conf is obsolete. Move the module-rt in client.conf and add conditions to disable modules. Transparently load client.conf in case applications still specify client-rt.conf. Custon configuration in the client-rt.conf.d/ should be moved to client.conf.d/
This commit is contained in:
parent
b952cfbe38
commit
24bcacc619
13 changed files with 75 additions and 193 deletions
|
|
@ -1200,6 +1200,10 @@ int pw_conf_load_conf_for_context(struct pw_properties *props, struct pw_propert
|
|||
conf_name = getenv("PIPEWIRE_CONFIG_NAME");
|
||||
if ((res = try_load_conf(conf_prefix, conf_name, conf)) < 0) {
|
||||
conf_name = pw_properties_get(props, PW_KEY_CONFIG_NAME);
|
||||
if (spa_streq(conf_name, "client-rt.conf")) {
|
||||
pw_log_warn("setting config.name to client-rt.conf is deprecated, using client.conf");
|
||||
conf_name = NULL;
|
||||
}
|
||||
if (conf_name == NULL)
|
||||
conf_name = "client.conf";
|
||||
else if (!valid_conf_name(conf_name)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue