mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-18 07:00:06 -05:00
Implement per client config files
Move the daemon config file loading to a new conf.c file used by the context to load the configuration. This replaces the module profiles and some hacks to move properties around. If there is nothing other specified with $PIPEWIRE_CONFIG_NAME or a property, the client.conf file is loaded as a fallback. Update the session manager config file to load the modules via the config now. Rename the session modules section to another name. Update pipewire-pulse to also load a specific pulse property file. This then makes it pssible to assign specific RT priorities for the pipewire-pulse process.
This commit is contained in:
parent
0d56f717bf
commit
c605672d43
17 changed files with 619 additions and 416 deletions
|
|
@ -17,6 +17,49 @@ spa-libs = {
|
|||
}
|
||||
|
||||
modules = {
|
||||
## <module-name> = { [args = { <key>=<value> ... }]
|
||||
# [flags = [ [ifexists] [nofail] ]}
|
||||
#
|
||||
# Loads a module with the given parameters.
|
||||
# If ifexists is given, the module is ignored when it is not found.
|
||||
# If nofail is given, module initialization failures are ignored.
|
||||
#
|
||||
# Uses RTKit to boost the data thread priority.
|
||||
libpipewire-module-rtkit = {
|
||||
args = {
|
||||
#nice.level = -11
|
||||
#rt.prio = 20
|
||||
#rt.time.soft = 200000
|
||||
#rt.time.hard = 200000
|
||||
}
|
||||
flags = [ ifexists nofail ]
|
||||
}
|
||||
|
||||
# The native communication protocol.
|
||||
libpipewire-module-protocol-native = null
|
||||
|
||||
# Allows creating nodes that run in the context of the
|
||||
# client. Is used by all clients that want to provide
|
||||
# data to PipeWire.
|
||||
libpipewire-module-client-node = null
|
||||
|
||||
# Allows creating devices that run in the context of the
|
||||
# client. Is used by the session manager.
|
||||
libpipewire-module-client-device = null
|
||||
|
||||
# Makes a factory for wrapping nodes in an adapter with a
|
||||
# converter and resampler.
|
||||
libpipewire-module-adapter = null
|
||||
|
||||
# Allows applications to create metadata objects. It creates
|
||||
# a factory for Metadata objects.
|
||||
libpipewire-module-metadata = null
|
||||
|
||||
# Provides factories to make session manager objects.
|
||||
libpipewire-module-session-manager = null
|
||||
}
|
||||
|
||||
session.modules = {
|
||||
# These are the modules that are enabled when a file with
|
||||
# the key name is found in the media-session.d config directory.
|
||||
# the default bundle is always enabled.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue