mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-03-22 05:33:53 -04:00
conf: add a jack-tunnel config snippet
The minimal config might want to enable JACK as a backend so add an example config for this.
This commit is contained in:
parent
d329dac6ba
commit
21e9fdf8ad
1 changed files with 33 additions and 0 deletions
|
|
@ -47,6 +47,9 @@ context.properties = {
|
||||||
|
|
||||||
# Load the pulseaudio emulation daemon
|
# Load the pulseaudio emulation daemon
|
||||||
minimal.use-pulse = true
|
minimal.use-pulse = true
|
||||||
|
|
||||||
|
# Load the jack-tunnel as a backend
|
||||||
|
minimal.use-jack-tunnel = false
|
||||||
}
|
}
|
||||||
|
|
||||||
context.properties.rules = [
|
context.properties.rules = [
|
||||||
|
|
@ -153,6 +156,36 @@ context.modules = [
|
||||||
{ name = libpipewire-module-protocol-pulse
|
{ name = libpipewire-module-protocol-pulse
|
||||||
condition = [ { minimal.use-pulse = true } ]
|
condition = [ { minimal.use-pulse = true } ]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{ name = libpipewire-module-jack-tunnel
|
||||||
|
args = {
|
||||||
|
#jack.library = libjack.so.0
|
||||||
|
#jack.server = null
|
||||||
|
#jack.client-name = PipeWire
|
||||||
|
#jack.connect = true
|
||||||
|
#tunnel.mode = duplex
|
||||||
|
#midi.ports = 0
|
||||||
|
#audio.channels = 2
|
||||||
|
#audio.position = [ FL FR ]
|
||||||
|
source.props = {
|
||||||
|
# extra sink properties
|
||||||
|
# jack-tunnel needs a PortConfig from the
|
||||||
|
# session manager so do this here.
|
||||||
|
node.param.PortConfig = {
|
||||||
|
direction = Output
|
||||||
|
mode = dsp
|
||||||
|
}
|
||||||
|
}
|
||||||
|
sink.props = {
|
||||||
|
# extra sink properties
|
||||||
|
node.param.PortConfig = {
|
||||||
|
direction = Input
|
||||||
|
mode = dsp
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
condition = [ { minimal.use-jack-tunnel = true } ]
|
||||||
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
pulse.properties = {
|
pulse.properties = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue