🔍 See Original Answer on Ask Ubuntu ⧉ 🔗
Pause music when bluetooth connection drops
October 5, 2019
Edited: June 12, 2020
December 3, 2023
Copy to clipboard: false
/assets/js/search.js will update text..
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?