There are a bunch of hints how to automatically switch the output of pulseaudio to a bluetooth headset when it's connected.
But they still don't help with switching the output of running applications without having to restart them.
For example, I have a running VirtualBox machine, decide to use my bluetooth headset, while it's already running.
Right now I don't know any other way of hearing the virtual machine on my bluetooth headset, than to restart the machine.
Can I switch the output while it's still running?
I don't need advice on automatically switching pulseaudio's output device to the bluetooth headset as soon as it's connected. But a way to switch the output of already running applications. Thank you.