From c25e6cee5087768bdc8e07d6d8dec349d1ae948b Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 17 Aug 2021 20:31:47 +0200 Subject: [PATCH] pulse-server: add an example of context.exec in the config file Extra setup with pactl or scripts can be run here. --- src/daemon/pipewire-pulse.conf.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/daemon/pipewire-pulse.conf.in b/src/daemon/pipewire-pulse.conf.in index 871601556..1c9ca623a 100644 --- a/src/daemon/pipewire-pulse.conf.in +++ b/src/daemon/pipewire-pulse.conf.in @@ -57,6 +57,12 @@ context.modules = [ } ] +# Extra modules can be loaded here. Setup in default.pa can be moved here +context.exec = [ + #{ path = "pactl" args = "module-switch-on-connect" } + #{ path = "/usr/bin/sh" args = "~/.config/pipewire/default.pw" } +] + stream.properties = { #node.latency = 1024/48000 #node.autoconnect = true