conf: enable jackdbus support by default

Become a JACK client as soon as jackdbus is started. This is probably
a good thing to do by default.
This commit is contained in:
Wim Taymans 2023-09-14 13:24:51 +02:00
parent 846e732458
commit a4f3b78dff

View file

@ -50,6 +50,8 @@ context.properties = {
# enables autoloading of access module, when disabled an alternative # enables autoloading of access module, when disabled an alternative
# access module needs to be loaded. # access module needs to be loaded.
module.access = true module.access = true
# enables autoloading of module-jackdbus-detect
module.jackdbus-detect = true
} }
context.spa-libs = { context.spa-libs = {
@ -179,6 +181,29 @@ context.modules = [
flags = [ ifexists nofail ] flags = [ ifexists nofail ]
condition = [ { module.x11.bell = true } ] condition = [ { module.x11.bell = true } ]
} }
{ name = libpipewire-module-jackdbus-detect
args {
#jack.library = libjack.so.0
#jack.server = null
#jack.client-name = PipeWire
#jack.connect = true
#tunnel.mode = duplex # source|sink|duplex
source.props = {
#audio.channels = 2
#midi.ports = 1
#audio.position = [ FL FR ]
# extra sink properties
}
sink.props = {
#audio.channels = 2
#midi.ports = 1
#audio.position = [ FL FR ]
# extra sink properties
}
}
flags = [ ifexists nofail ]
condition = [ { module.jackdbus-detect = true } ]
}
] ]
context.objects = [ context.objects = [