module-fallback-sink: add dynamically appearing fallback sink

Add a module for a fallback dummy sink, which appears dynamically when
no other sinks are present.

Enable it for pipewire-pulse, because Pulseaudio will also show
dynamically a dummy sink.
This commit is contained in:
Pauli Virtanen 2022-02-12 18:36:36 +02:00 committed by Wim Taymans
parent a6035dc4c0
commit 02e6f9fbca
5 changed files with 488 additions and 0 deletions

View file

@ -68,6 +68,9 @@ 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