I managed to configure the onboard bluetooth on my rpi3, but audio is far from usable. It does a lot of skips. I would like to try again with an external bluetooth dongle, or with the next upgrade to Buster.
Below are my notes from the process, if it helps:
-Instructions based on: https://gist.github.com/mill1000/74c7473ee3b4a5b13f6325e9994ff84c
-Install bluealsa
-Edit file /etc/bluetooth/main.conf and set: Class = 0x200420
sudo bluetoothctl
discoverable on
(at this point you should be able to pair your phone to modep)
-Edit .asoundrc and copy to /root
based on: https://www.alsa-project.org/main/index.php/Asoundrc#JACK_plugin
pcm.jackplug {
type plug
slave { pcm "jack" }
}
pcm.jack {
type jack
playback_ports {
0 system:playback_1
1 system:playback_2
}
}
pcm.!default {
type hw
card 0
}
ctl.!default {
type hw
card 0
}
-play file through jack
aplay -D jackplug sample.wav
-play bluetooth stream through default pcm output
bluealsa-aplay -vv 00:00:00:00:00:00
-play bluetooth stream through jack
sudo bluealsa-aplay -d jackplug -vv 00:00:00:00:00:00