From 895c286f16843a7ba86014bd3dffca0cfe84ac9a Mon Sep 17 00:00:00 2001 From: tiyn Date: Mon, 21 Oct 2024 06:12:56 +0200 Subject: [PATCH] pipewire: added 2 dummy sinks --- .../pipewire.conf.d/10-dummy_sink_0.conf | 18 ++++++++++++++++++ .../pipewire.conf.d/11-dummy_sink_1.conf | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 .config/pipewire/pipewire.conf.d/10-dummy_sink_0.conf create mode 100644 .config/pipewire/pipewire.conf.d/11-dummy_sink_1.conf diff --git a/.config/pipewire/pipewire.conf.d/10-dummy_sink_0.conf b/.config/pipewire/pipewire.conf.d/10-dummy_sink_0.conf new file mode 100644 index 0000000..538f525 --- /dev/null +++ b/.config/pipewire/pipewire.conf.d/10-dummy_sink_0.conf @@ -0,0 +1,18 @@ +context.objects = [ + { factory = adapter + args = { + factory.name = support.null-audio-sink + node.name = "null-sink-0" + node.description = "Null Sink 0" + media.class = Audio/Sink + audio.position = [ FL FR FC LFE RL RR ] + monitor.channel-volumes = true + monitor.passthrough = true + adapter.auto-port-config = { + mode = dsp + monitor = true + position = preserve + } + } + } +] diff --git a/.config/pipewire/pipewire.conf.d/11-dummy_sink_1.conf b/.config/pipewire/pipewire.conf.d/11-dummy_sink_1.conf new file mode 100644 index 0000000..06113e0 --- /dev/null +++ b/.config/pipewire/pipewire.conf.d/11-dummy_sink_1.conf @@ -0,0 +1,18 @@ +context.objects = [ + { factory = adapter + args = { + factory.name = support.null-audio-sink + node.name = "null-sink-1" + node.description = "Null Sink 1" + media.class = Audio/Sink + audio.position = [ FL FR FC LFE RL RR ] + monitor.channel-volumes = true + monitor.passthrough = true + adapter.auto-port-config = { + mode = dsp + monitor = true + position = preserve + } + } + } +]