Page 1 of 1

Playing sound through both wired and bluetooth devices - with Pulse Audio

Posted: Sun Aug 04, 2024 5:35 pm
by wizard

Playing sound through both wired and bluetooth devices (multiple output).

This topic should apply to Puppies with Pulse Audio and was tested on F96CE_4 and BookwormPup64.

In normal mode connecting a bluetooth speaker or headset disables the internal soundcard. A search on the web suggested the program: paprefs. Paprefs installs and runs in F96 but does not work, in BW64, it failed to install.

Found some code snippets on an Ubuntu forum that works on both. The attached file, multi-audio.sh, is a small GUI that can toggle the function on or off (may require reboot).

The code creates a virtual device that can combine the outputs. In BW64 it's listed as "combined", in F96 it's listed as "simultaneous output"

Connect all your devices and start your audio.

You'll need to open PulseAudio Volume Control and experiment with both Playback and Output Devices to select devices and adjust volumes. Set Show = All Streams and All Output Devices.

In this image on BW64, Chromium is playing a video and PBT3005 is my bluetooth speaker.

PAV.jpg
PAV.jpg (78.07 KiB) Viewed 433 times

Thanks
wizard