mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
filter-chain: add FL to FL-FR duplication
This commit is contained in:
parent
92e58eeb4f
commit
0659f090fc
2 changed files with 49 additions and 0 deletions
48
src/daemon/filter-chain/duplicate-FL.conf
Normal file
48
src/daemon/filter-chain/duplicate-FL.conf
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
# An example filter chain for duplicating the FL channel
|
||||
# to FL and FR.
|
||||
#
|
||||
# Copy this file into a conf.d/ directory
|
||||
#
|
||||
context.modules = [
|
||||
{ name = libpipewire-module-filter-chain
|
||||
args = {
|
||||
node.name = "remap-FL-to-FL-FR"
|
||||
node.description = "Remap example"
|
||||
media.name = "Remap example"
|
||||
filter.graph = {
|
||||
nodes = [
|
||||
{
|
||||
name = copyIL
|
||||
type = builtin
|
||||
label = copy
|
||||
}
|
||||
{
|
||||
name = copyOL
|
||||
type = builtin
|
||||
label = copy
|
||||
}
|
||||
{
|
||||
name = copyOR
|
||||
type = builtin
|
||||
label = copy
|
||||
}
|
||||
]
|
||||
links = [
|
||||
# we can only tee from nodes, not inputs so we need
|
||||
# to copy the inputs and then tee.
|
||||
{ output = "copyIL:Out" input = "copyOL:In" }
|
||||
{ output = "copyIL:Out" input = "copyOR:In" }
|
||||
]
|
||||
inputs = [ "copyIL:In" ]
|
||||
outputs = [ "copyOL:Out" "copyOR:Out" ]
|
||||
}
|
||||
capture.props = {
|
||||
audio.position = [ FL ]
|
||||
stream.dont-remix = true
|
||||
}
|
||||
playback.props = {
|
||||
audio.position = [ FL FR ]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
@ -1,5 +1,6 @@
|
|||
conf_files = [
|
||||
[ 'demonic.conf', 'demonic.conf' ],
|
||||
[ 'duplicate-FL.conf', 'duplicate-FL.conf' ],
|
||||
[ 'sink-virtual-surround-5.1-kemar.conf', 'sink-virtual-surround-5.1-kemar.conf' ],
|
||||
[ 'sink-virtual-surround-7.1-hesuvi.conf', 'sink-virtual-surround-7.1-hesuvi.conf' ],
|
||||
[ 'sink-dolby-surround.conf', 'sink-dolby-surround.conf' ],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue