Reference

libpipewire-module-jack-tunnel(7)

JACK Tunnel

NAME

libpipewire-module-jack-tunnel - JACK Tunnel

DESCRIPTION

The jack-tunnel module provides a source or sink that tunnels all audio to a JACK server.

This module is usually used together with JACK DBus detect that will automatically load the tunnel with the right parameters based on dbus information.

MODULE NAME

libpipewire-module-jack-tunnel

MODULE OPTIONS

•

jack.library: the libjack to load, by default libjack.so.0 is searched in LIBJACK_PATH directories and then some standard library paths.

•

jack.server: the name of the JACK server to tunnel to.

•

jack.client-name: the name of the JACK client.

•

jack.connect: if jack ports should be connected automatically. Can also be placed per stream.

•

jack.connect-audio: An array of audio ports to connect to. Can also be placed per stream. An empty array will not connect anything, even when jack.connect is true.

•

jack.connect-midi: An array of midi ports to connect to. Can also be placed per stream. An empty array will not connect anything, even when jack.connect is true.

•

tunnel.mode: the tunnel mode, sink|source|duplex, default duplex

•

midi.ports: the number of midi ports. Can also be added to the stream props.

•

source.props: Extra properties for the source filter.

•

sink.props: Extra properties for the sink filter.

GENERAL OPTIONS

Options with well-known behavior.

•

remote.name

•

audio.channels

•

audio.layout

•

audio.position

•

node.name

•

node.description

•

node.group

•

node.virtual

•

media.class

•

target.object to specify the remote node.name or serial.id to link to

EXAMPLE CONFIGURATION OF A DUPLEX SINK/SOURCE

# ~/.config/pipewire/pipewire.conf.d/my-jack-tunnel.conf
context.modules = [
{   name = libpipewire-module-jack-tunnel
    args = {
        #jack.library     = libjack.so.0
        #jack.server      = null
        #jack.client-name = PipeWire
        #jack.connect     = true
        #jack.connect-audio = [ playback_1 playback_2 ]
        #jack.connect-midi = [ midi_playback_1 ]
        #tunnel.mode      = duplex
        #midi.ports       = 0
        #audio.channels   = 2
        #audio.position   = [ FL FR ]
        source.props = {
            # extra sink properties
        }
        sink.props = {
            # extra sink properties
        }
    }
}
]

History