From a4f3b78dff700cb4a05cfd3c355b929981cc8fa3 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 14 Sep 2023 13:24:51 +0200 Subject: [PATCH] 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. --- src/daemon/pipewire.conf.in | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/src/daemon/pipewire.conf.in b/src/daemon/pipewire.conf.in index 18a30775b..2237a2ea5 100644 --- a/src/daemon/pipewire.conf.in +++ b/src/daemon/pipewire.conf.in @@ -50,6 +50,8 @@ context.properties = { # enables autoloading of access module, when disabled an alternative # access module needs to be loaded. module.access = true + # enables autoloading of module-jackdbus-detect + module.jackdbus-detect = true } context.spa-libs = { @@ -179,6 +181,29 @@ context.modules = [ flags = [ ifexists nofail ] 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 = [