ansible/roles/music/templates/pw-bitvis-mixer.conf
polyfloyd aa32225eea
Some checks failed
Test / build (push) Failing after 52s
music/bitvis: Add a gain filter
2025-05-21 19:50:08 +02:00

38 lines
1.1 KiB
Text

# {{ ansible_managed }}
context.modules = [
{
name = libpipewire-module-filter-chain
args = {
node.description = "bitvis-mixer"
media.name = "bitvis-mixer"
filter.graph = {
nodes = [
{
name = mix
type = builtin
label = mixer
control = {
"Gain 1" = 10
"Gain 2" = 10
}
}
]
inputs = [ "mix:In 1" "mix:In 2" ]
outputs = [ "mix:Out" ]
}
capture.props = {
node.name = "mix_input.bitvis"
audio.position = [ FL FR ]
media.class = "Audio/Sink"
}
playback.props = {
node.name = "mix_output.bitvis"
audio.position = [ FL ]
stream.dont-remix = true
node.passive = true
node.autoconnect = false
}
}
}
]