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

@ -18,18 +18,6 @@ The PipeWire client configuration file.
*$XDG_CONFIG_HOME/pipewire/client.conf.d/*
*$XDG_CONFIG_HOME/pipewire/client-rt.conf*
*$(PIPEWIRE_CONFIG_DIR)/client-rt.conf*
*$(PIPEWIRE_CONFDATADIR)/client-rt.conf*
*$(PIPEWIRE_CONFDATADIR)/client-rt.conf.d/*
*$(PIPEWIRE_CONFIG_DIR)/client-rt.conf.d/*
*$XDG_CONFIG_HOME/pipewire/client-rt.conf.d/*
# DESCRIPTION
Configuration for PipeWire native clients, and for PipeWire's ALSA
@ -38,9 +26,6 @@ plugin.
A PipeWire native client program selects the default config to load,
and if nothing is specified, it usually loads `client.conf`.
The ALSA plugin uses the `client-rt.conf` file, as do some PipeWire
native clients such as \ref page_man_pw-cat_1 "pw-cat(1)".
The configuration file format and lookup logic is the same as for \ref page_man_pipewire_conf_5 "pipewire.conf(5)".
Drop-in configuration files `client.conf.d/*.conf` can be used, and are recommended.
@ -148,7 +133,7 @@ An `alsa.properties` section can be added to configure client applications
that connect via the PipeWire ALSA plugin.
```css
# ~/.config/pipewire/client-rt.conf.d/custom.conf
# ~/.config/pipewire/client.conf.d/custom.conf
alsa.properties = {
#alsa.deny = false
@ -193,7 +178,7 @@ set any of the above ALSA properties or any of the `stream.properties`.
### Example
```css
# ~/.config/pipewire/client-rt.conf.d/custom.conf
# ~/.config/pipewire/client.conf.d/custom.conf
alsa.rules = [
{ matches = [ { application.process.binary = "resolve" } ]

View file

@ -8,7 +8,7 @@
@SECREF@ pipewire-pulse.conf
\ref page_man_pipewire-client_conf_5 "client.conf, client-rt.conf"
\ref page_man_pipewire-client_conf_5 "client.conf"
@SECREF@ client.conf