Could someone explain what's going on here and how to fix that?
Since pipewire is here, the jack output plugin of linux-show-player
(LiSP) doesn't work anymore. Try to help myself getting an output on
the 3./4. channel of my Focusrite Scarlet 2i4 and created a 4-channel
audio file with audacity, empty at channel 1,2, signal at 3,4.
What happens?
In "Direct Scarlet 2i4 USB"-mode: LiSP creates a 4-channel-output
(output_[FL,FR,FC,LFE]), where the signal comes out at 1,2 (*_[FL,FR])
In "Pro Audio"-mode: LiSP only creates 2 outputs. Signal's also routed
to those.
Shouldn't multichannel stay multi with pipewire?
I don't know, why everything's just down-/upmixed to stereo…
(In case a mono track is streamed, it's also thrown at FL/FR - which in
that case is fortunaltely what I want…)
############
As a completion, here's my workaround:
Using LiSP's "command-cue" I can use a combination of pw-play and pw-
link to start the stream and redirect it to the desired output. "sleep"
adds a little delay so the audio-stream is established and can be
modified.
pw-play 4-ch-audio.wav &sleep .1&& pw-link pw-play:output_FL
alsa_output.usb-Focusrite_Scarlett_2i4_USB-00.pro-output-
0:playback_AUX3 && pw-link pw-play:output_FR alsa_output.usb-
Focusrite_Scarlett_2i4_USB-00.pro-output-0:playback_AUX4 && pw-link -d
pw-play:output_FR alsa_output.usb-Focusrite_Scarlett_2i4_USB-00.pro-
output-0:playback_AUX1 && pw-link -d pw-play:output_FL alsa_output.usb-
Focusrite_Scarlett_2i4_USB-00.pro-output-0:playback_AUX2
Would be easier if pw-play could handle output-advises directly…
Greets!
Mitsch