You were right, it is not related to BT, but to the sound devices being added and removed.
I happend to have a Zoom microphone that can be connected as USB and creates a new audio interface (both input and output). Here are my new tests and findings:
1. Plug the Zoom USB device
-> it appears in the Sound Settings Output Device and is automatically selected
2. Press Test and check the sound output
-> the sound outputs on the internal speakers (NOK)
After some investigation using pactl, I found how to fix the issue, for both the USB audio interface and the Bluetooth speaker:
1. Make sure the audio interface you want is connected (in my case, I connected both the USB and the Bluetooth speaker):
2. Play an audio stream, for instance a Youtube video. The output should come from the internal speakers, and can be seen in pactl as well:
$ pactl list short sink-inputs
10 1 16 protocol-native.c float32le 2ch 44100Hz
3. Ask pactl to move the stream to the desired sink (output); for instance, the Bluetooth speaker:
$ pactl move-sink-input 10 7
-> The sound outputs to the Bluetooth device! \o/
However, going back to Sound Settings (where the "Output Device" shows my Bluetooth Speaker) and clicking Test still outputs to the internal speakers....
Do you think it could be a GNOME issue? What should I do next?
Thanks a lot for the input, Ken!
You were right, it is not related to BT, but to the sound devices being added and removed.
I happend to have a Zoom microphone that can be connected as USB and creates a new audio interface (both input and output). Here are my new tests and findings:
1. Plug the Zoom USB device
-> it appears in the Sound Settings Output Device and is automatically selected
2. Press Test and check the sound output
-> the sound outputs on the internal speakers (NOK)
After some investigation using pactl, I found how to fix the issue, for both the USB audio interface and the Bluetooth speaker:
1. Make sure the audio interface you want is connected (in my case, I connected both the USB and the Bluetooth speaker):
$ pactl list short sinks pci-0000_ 00_1f.3. analog- stereo module-alsa-card.c s16le 2ch 48000Hz SUSPENDED usb-ZOOM_ Corporation_ H2n_00000000000 0-00.iec958- stereo module-alsa-card.c s16le 2ch 44100Hz SUSPENDED 88_C6_26_ 1A_9E_AF. a2dp_sink module- bluez5- device. c s16le 2ch 44100Hz SUSPENDED
1 alsa_output.
6 alsa_output.
7 bluez_sink.
2. Play an audio stream, for instance a Youtube video. The output should come from the internal speakers, and can be seen in pactl as well:
$ pactl list short sink-inputs
10 1 16 protocol-native.c float32le 2ch 44100Hz
3. Ask pactl to move the stream to the desired sink (output); for instance, the Bluetooth speaker:
$ pactl move-sink-input 10 7
-> The sound outputs to the Bluetooth device! \o/
However, going back to Sound Settings (where the "Output Device" shows my Bluetooth Speaker) and clicking Test still outputs to the internal speakers....
Do you think it could be a GNOME issue? What should I do next?