pulse-server: load module-always-sink on startup

Load fallback sink on startup as a Pulseaudio module, so that it is
easier to disable when necessary.
This commit is contained in:
Pauli Virtanen 2022-02-13 14:15:30 +02:00
parent 04cff777af
commit 0b40d36a14

View file

@ -68,13 +68,11 @@ context.modules = [
}
}
}
# Pulseaudio shows a fallback null sink, if no other sinks are present
{ name = libpipewire-module-fallback-sink, args = { sink.name = "auto_null" } }
]
# Extra modules can be loaded here. Setup in default.pa can be moved here
context.exec = [
{ path = "pactl" args = "load-module module-always-sink" }
#{ path = "pactl" args = "load-module module-switch-on-connect" }
#{ path = "/usr/bin/sh" args = "~/.config/pipewire/default.pw" }
]