I'm having trouble getting external audio devices (like Bluetooth speakers) to play audio from applications.
For example, my Bluetooth speaker connects fine and shows up as an output option. When I test it using the system sound settings (e.g., front-left and front-right), the test sounds play correctly.
But when I try to use it to play audio from apps like Chrome, I don't hear anything on the Bluetooth speaker, despite it being selected as the output device. It still plays sound on the built-in speaker.
Has anyone encountered this before or know what could be causing it?
In Ubuntu 22.04, audio may play through Bluetooth speakers but not from a browser due to issues with PulseAudio or PipeWire configurations. To resolve this, you can try installing and using pavucontrol, a graphical user interface for PulseAudio, to manage audio outputs and inputs more effectively.
Open pavucontrol by running the command pavucontrol in the terminal.
Navigate to the "Playback" tab.
Find the application that is not outputting sound (e.g., your web browser).
Set the output device for that application to your Bluetooth speaker.
Additionally, ensure that the Bluetooth speaker is selected as the default output device in the Sound settings of your Ubuntu system.
If the issue persists, you might need to unload and reload the PulseAudio Bluetooth module using the following commands in the terminal: