With newly flashed SD-card sound works fine on TV. Connected to my AV-Receiver (Onkyo TX-NR626) after booting: On surface there is a click every now and then, but HDMI and sound indicators flashing (handshake problem?). Playing video no sound at all. This affects all Allwinner chips, H3, H5, H6 and R40. I tried several options (Sound always on, fixed samplerate to 44.1 kHz...) but no change at all.
Kodi log (ALSA):
CAESinkALSA::Initialize - Opened device "hdmi:CARD=allwinnerhdmi,DEV=0,AES0=0x04,AES1=0x82,AES2=0x00,AES3=0x00"
CAESinkALSA::InitializeHW - Unable to open the required number of channels
CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
CAESinkALSA::InitializeHW - Using data format AE_FMT_S24NE4
(the same with other devices)