my apologies to moderators if this has being asked before. I was looking around for it but couldn’t find anything. I am the moderator myself in a different forum, so I know what it’s like…
I am running Kodi 18.9 on LibreElec on a RasPi 3a. Following the instructions, I added this line to the config.txt and it is recognised by the OS. I can choose the Hifiberry as:
ALSA: Default (snd_rpi_hifiberry_digi Hifiberry Digi Hifi wm8804-spdif-0)
ALSA: snd_rpi_hifiberry_digi, Hifiberry Digi Hifi wm8804-spdif-0
ALSA: snd_rpi_hifiberry_digi, Hifiberry Digi Hifi wm8804-spdif-0 S/PDIF
The system is set for 5.1 channels and passthrough. While I browse the menus I can hear the clicks of Kodi and see the red light on the TOSLINK port, no problem there. But as soon as I play any content with 5.1 or DTS content, the red light goes out and I get absolutely no audio output. When I stop the playback the audio comes back.
When I switch to audio output through the Pi HDMI at least I can play 5.1 but still no DTS. I’m a bit confused…