When connecting multiple bluetooth audio devices the audio routing doesn't behave as it should.
When multiple devices are connected which support A2DP for example we have to
* Pick one which becomes the active one
* When the active one disappears (disconnected, out-of-range) we need to pick the next one and set it as the active
Right now the result is not constant when connecting multiple devices:
* bluez and PA (mainly PA) try to setup all devices not respecting if one is already active
* when disconnecting the active one the previously not-active one doesn't become active and stays unused
When connecting multiple bluetooth audio devices the audio routing doesn't behave as it should.
When multiple devices are connected which support A2DP for example we have to
* Pick one which becomes the active one
* When the active one disappears (disconnected, out-of-range) we need to pick the next one and set it as the active
Right now the result is not constant when connecting multiple devices:
* bluez and PA (mainly PA) try to setup all devices not respecting if one is already active
* when disconnecting the active one the previously not-active one doesn't become active and stays unused