Restore previous profile if new sound profile cannot be set
I'm trying to make my bluetooth headest work.
Unfortunately (for now...) the A2DP profile does not work. But when I set it in gnome-control-center, nothing shows me that I didn't work - but in journactl -f
I can see:
mars 04 19:34:21 host pulseaudio[1380]: W: [pulseaudio] module-bluez5-device.c: Refused to switch profile to a2dp_sink: Not connected
It would be great to restore previous profile in that case and maybe even better add some error notification if profile could not be set?
Edited by Georges Basile Stavracas Neto