I just want to leave this information somewhere, because it took me quite some time:
PROBLEM
I had successfully connected my mobile to LE via bluetooth (LE settings addon) and was able "play" audio from it. The mobile displayed the play progress, the bluetooth adapter blinked, but there was no sound on any of the audio output devices connected to the system. Kodi menu sound was there though, so audio output in general worked.
SOLUTION (ymmv)
- Do https://wiki.libreelec.tv/configuration/…tooth-receiving to set up BT receiving
- Note the audio sink you want output to got to from the pactl list short sinks call, e.g. alsa_output.platform-aml_m8_snd.45.analog-stereo
- According to https://wiki.libreelec.tv/configuration/…o#configuration and in /storage/.config/pulse-daemon.conf.d/custom.pa add:
load-module module-udev-detect
set-default-sink alsa_output.platform-aml_m8_snd.45.analog-stereo
- Turn off "Keep audio device alive" in Kodi, otherwise Kodi will block the output device and no bluetooth sound will be heard until it lets go of the device again (default is 1 min)
It might make sense to add that to the wiki. It would also be cool to e.g. have an option in LE to select this device in the LE addon, write it to custom.pa, kill PulseAudio and restart it. If that would work for Bluetooth audio sources too LE would have a complete GUI solution.