Hi Mitsch,
On Wed, 17 Dec 2025 17:17:52 +0100 Michael Jarosch wrote:
Hi, there!
Everything's just easy with pipewire, isn't it?
Well, since pipewire's here I have some problems with it using my
beloved linux-show-player (LiSP) in combination with jack-output.
So, I'd like to use a workaround using console-commands…
I have a build-in audio device and a bluetooth connection, pw-top lists
these devices:
Dummy-Driver
Freewheel-Driver
[…]
alsa-output.pci-0000_00_1b.0.analog-stereo
[…]
bluez_output.[bluetooth-adress].1
[…]
How do I send a stereo or mono audio stream to the bluez-output with a
console command? Can I use aplay? (Because aplay -L doesn't list the
bluetooth speaker…)
Any ideas?
pw-link.
I've also used qpwgraph's patchbay, but I found it a little slower
than pw-link. I use pw-link (and jack-play) via Qt's qprocesses.
pw-link -io will show the ins and outs available. Mine look like:
alsa_output.pci-0000_01_00.1.hdmi-stereo:monitor_FL
alsa_output.pci-0000_01_00.1.hdmi-stereo:monitor_FR
alsa_output.pci-0000_01_00.1.hdmi-stereo:playback_FL
alsa_output.pci-0000_01_00.1.hdmi-stereo:playback_FR
alsa_output.usb-Burr-Brown_from_TI_USB_Audio_DAC-00.analog-stereo:monitor_FL
alsa_output.usb-Burr-Brown_from_TI_USB_Audio_DAC-00.analog-stereo:monitor_FR
alsa_output.usb-Burr-Brown_from_TI_USB_Audio_DAC-00.analog-stereo:playback_FL
alsa_output.usb-Burr-Brown_from_TI_USB_Audio_DAC-00.analog-stereo:playback_FR
I use pw-link with these arguments:
connectOpts << "j-play:out_1" <<
"alsa_output.usb-Burr-Brown_from_TI_USB_Audio_DAC-00.analog-stereo:playback_FL";
(and similar for FR. connectOpts is a QstringList)
When it's playing; I can use pw-link -l to show the links:
$ pw-link -l
alsa_output.usb-Burr-Brown_from_TI_USB_Audio_DAC-00.analog-stereo:playback_FL
|<- j-play:out_1
alsa_output.usb-Burr-Brown_from_TI_USB_Audio_DAC-00.analog-stereo:playback_FR
|<- j-play:out_2
j-play:out_1
|-> alsa_output.usb-Burr-Brown_from_TI_USB_Audio_DAC-00.analog-stereo:playback_FL
j-play:out_2
|-> alsa_output.usb-Burr-Brown_from_TI_USB_Audio_DAC-00.analog-stereo:playback_FR
I expect there are better ways, but it works very well for me.
--
Rather you than me, said the kangaroo to the flea.