Unfortunately, configuring
/etc/pulse/default.pa
load-module module-bluetooth-policy auto_switch=2
has no effect on both PCs I tried. It seems that the browsers I'm using (Firefox & Opera) don't request an input stream
which might trigger the BT profile change but iterate over existing devices, thus they don't see any input.
I'd really prefer a static configuration…
Regards,
Uwe
Am 13.01.21 um 10:34 schrieb Ben Oliver via arch-general:
I think auto-switching might not be so bad if it works as advertised.
With regards to your static configuration, pulse seems to remember your preferences pretty well.
I just ran youtube over my headphones and mpv over my speakers. (used pavucontrol to set it up)
Disconnected the headphones, everything went to speakers.
Reconnected the headphones, only youtube went back to them. mpv stayed on the speakers as before.
In this scenario, perhaps auto switching would work for you since your speakers should remain unaffected.