Re: [LAU] Pulseaudio: connecting output to particular jack outputs

From: Christopher Arndt <chris@email-addr-hidden>
Date: Sun Dec 27 2020 - 23:36:48 EET

Am 27.12.20 um 22:17 schrieb Jeanette C.:
> is there a way to tell PulseAudio to connect to two SPECIFIC ports, like:
> system:playback_17 and system:playback_18 instead of the default which
> is _1 and _2 ?
>
> I know the output module is called jack_out, but I didn't find any info
> on options.

The module is called module-jack-sink and its documentation is here:

https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Modules/#module-jack-sink

Here's the relevant option:

connect

    Takes a boolean value. If enabled (the default) PulseAudio will try
to connect its ports to the physical playback ports of the JACK server

So, the answer is that pulseaudio itself can't do it. But you can of
course connect the ports yourself, e.g. using an auto-connecting tool,
just set the "connect" option to false in that case.

For example, with jack-matchmaker [1], you could do this:

jack-matchmaker -e \
    "PulseAudio JACK Sink:front-left" system:playback_17 \
    "PulseAudio JACK Sink:front-right" system:playback_18

Just start this whenever, before or after the pulseaudio
module-jack-sink is loaded and it will make the connections, once the
ports become available.

Chris
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Mon Dec 28 04:15:02 2020

This archive was generated by hypermail 2.1.8 : Mon Dec 28 2020 - 04:15:02 EET