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:
Wim Taymans 2025-01-14 12:34:13 +01:00
parent b952cfbe38
commit 24bcacc619
13 changed files with 75 additions and 193 deletions

View file

@ -1344,7 +1344,6 @@ SND_CTL_PLUGIN_DEFINE_FUNC(pipewire)
ctl->context = pw_context_new(loop,
pw_properties_new(
PW_KEY_CLIENT_API, "alsa",
PW_KEY_CONFIG_NAME, "client-rt.conf",
NULL),
0);
if (ctl->context == NULL) {

View file

@ -1288,7 +1288,6 @@ static int snd_pcm_pipewire_open(snd_pcm_t **pcmp,
pw->system = loop->system;
if ((pw->context = pw_context_new(loop,
pw_properties_new(
PW_KEY_CONFIG_NAME, "client-rt.conf",
PW_KEY_CLIENT_API, "alsa",
NULL),
0)) == NULL) {