Force Kodi on LibreELEC to use PulseAudio
This is to enable streaming from remote machines.
Make sure audio is enabled in the device tree. This is done by putting
dtparam=audio=on in /flash/config.txt/
Now configure Kodi to use PulseAudio in settings.
To persist, put
pactl load-module module-udev-detect tsched=0 in
/storage/.config/autostart.sh. Create it if it doesn’t exist.
tsched=0 prevents stuttering.