mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
jack-tunnel: support passing port names to link
Add jack.connect-audio and jack.connect-midi to specify an array of port names to link to instead of the default phyisical ports. Also actually fixes linking the midi ports correctly.
This commit is contained in:
parent
74035f0a34
commit
a241495eaf
2 changed files with 70 additions and 35 deletions
|
|
@ -49,7 +49,7 @@ context.properties = {
|
|||
minimal.use-pulse = true
|
||||
|
||||
# Load the jack-tunnel as a backend
|
||||
minimal.use-jack-tunnel = false
|
||||
minimal.use-jack-tunnel = true
|
||||
}
|
||||
|
||||
context.properties.rules = [
|
||||
|
|
@ -163,12 +163,16 @@ context.modules = [
|
|||
#jack.server = null
|
||||
#jack.client-name = PipeWire
|
||||
#jack.connect = true
|
||||
#jack.connect-audio = [ ]
|
||||
#jack.connect-midi = [ ]
|
||||
#tunnel.mode = duplex
|
||||
#midi.ports = 0
|
||||
#midi.ports = 1
|
||||
#audio.channels = 2
|
||||
#audio.position = [ FL FR ]
|
||||
source.props = {
|
||||
# extra sink properties
|
||||
#jack.connect-audio = [ "system:capture_1" ]
|
||||
#jack.connect-midi = [ "system:midi_capture_2" ]
|
||||
# jack-tunnel needs a PortConfig from the
|
||||
# session manager so do this here.
|
||||
node.param.PortConfig = {
|
||||
|
|
@ -178,6 +182,8 @@ context.modules = [
|
|||
}
|
||||
sink.props = {
|
||||
# extra sink properties
|
||||
#jack.connect-audio = [ "system:playback_1" ]
|
||||
#jack.connect-midi = [ "system:midi_playback_2" ]
|
||||
node.param.PortConfig = {
|
||||
direction = Input
|
||||
mode = dsp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue