After a new install of libreelec I cannot get proper audio via hdmi. I tried all the options for audio in the settings but nothing.
I then added:
to the config.txt and one hdmi port just gives me the rainbow pattern, the second port does show me kodi and the audio works BUT every couple of seconds the screen blanks out. So I removed hdmi_force_hotplug=1 and now the first hdmi port works with no display blanking but no audio. I'm not sure wtf is causing this, any insight would be appreciated