I've recently started using the LE13 nighties on an intel NUC. All the HDMI audio works great in Kodi but apps/add-ons running via Flatpak are limited to stereo and i'm trying to use Moonlight with 5.1 surround.
I've tried tweaking the custom audio device setting in "External programs helper" but i don't think that's where the problem is.
I've added some Pulseaudio daemon config with "default-sample-channels = 6" which did make it start outputting 5.1 but the channel map is all mixed up with audio coming from the wrong speaker. Changing "default-channel-map" in the same config doesn't help.
Anyone have any ideas? it would be really good if this could be streamlined / automatically configured based of the Kodi audio output settings in future.