mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
conf: more work on config changes
Add -c option to pipewire to select config file. Use this to select the uninstalled conf file. Rename conf properties, prefix with context. Simplify the main daemon now that everything can go in config. Simplify pipewire-pulse now that we can put everything in config, it's now virtually the same as pipewire but with a differenct config file. Parse server addresses as array of strings.
This commit is contained in:
parent
fc90a4e48a
commit
80825aeaea
16 changed files with 104 additions and 156 deletions
|
|
@ -1,6 +1,5 @@
|
|||
# Daemon config file for PipeWire version @VERSION@ #
|
||||
|
||||
properties = {
|
||||
context.properties = {
|
||||
## Configure properties in the system.
|
||||
#library.name.system = support/libspa-support
|
||||
#context.data-loop.library.name.system = support/libspa-support
|
||||
|
|
@ -11,6 +10,9 @@ properties = {
|
|||
#mem.mlock-all = false
|
||||
#log.level = 2
|
||||
|
||||
core.daemon = true # listening for socket connections
|
||||
core.name = pipewire-0 # core name and socket name
|
||||
|
||||
## Properties for the DSP configuration.
|
||||
#default.clock.rate = 48000
|
||||
#default.clock.quantum = 1024
|
||||
|
|
@ -22,7 +24,7 @@ properties = {
|
|||
#default.video.rate.denom = 1
|
||||
}
|
||||
|
||||
spa-libs = {
|
||||
context.spa-libs = {
|
||||
#<factory-name regex> = <library-name>
|
||||
#
|
||||
# Used to find spa factory names. It maps an spa factory name
|
||||
|
|
@ -41,7 +43,7 @@ spa-libs = {
|
|||
#audiotestsrc = audiotestsrc/libspa-audiotestsrc
|
||||
}
|
||||
|
||||
modules = {
|
||||
context.modules = {
|
||||
#<module-name> = {
|
||||
# [ args = { <key> = <value> ... } ]
|
||||
# [ flags = [ [ ifexists ] [ nofail ] ]
|
||||
|
|
@ -130,7 +132,7 @@ modules = {
|
|||
libpipewire-module-session-manager = null
|
||||
}
|
||||
|
||||
objects = {
|
||||
context.objects = {
|
||||
#<factory-name> = {
|
||||
# [ args = { <key> = <value> ... } ]
|
||||
# [ flags = [ [ nofail ] ]
|
||||
|
|
@ -168,7 +170,7 @@ objects = {
|
|||
#}
|
||||
}
|
||||
|
||||
exec = {
|
||||
context.exec = {
|
||||
#<program-name> = { [ args = "<arguments>" ] }
|
||||
#
|
||||
# Execute the given program with arguments.
|
||||
|
|
@ -183,5 +185,5 @@ exec = {
|
|||
# It can be interesting to start another daemon here that listens
|
||||
# on another address with the -a option (eg. -a tcp:4713).
|
||||
#
|
||||
#"@pipewire_pulse_path@" = { "#args" = "-a tcp:4713" }
|
||||
#"@pipewire_path@" = { args = "-c pipewire-pulse.conf" }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue