🔍 See Original Answer on Ask Ubuntu 🔗
Pause music when bluetooth connection drops
October 5, 2019
Edited: June 12, 2020
November 24, 2022
Copy to clipboard: false
My first instinct would be to pause the music on the earbuds as the range distorts the sound. But as you say this doesn’t work. The second option would be to tell Pulse Audio not to switch sound to the speakers when earbuds are out of range.
Disable automatic device switching
- edit the file
- find the line
- insert a
#at the beginning of the line to disable automatic port switching
- save file and exit editor
pulseaudio -kto reload configuration
Source: How to disable pulseaudio automatic device switch?