Display MoreThere is (effectively) no AAC passthrough anywhere.
It is mentioned in specs, but n o consumer devices output it and kodi doesn't support it.
Kodi can decode the 6-channel AAC and output 6-channel PCM.
This is lossless and will have perfect quality, but relies on connection to AVR to support multichannel PCM.
It's not clear from your post how the TV and AVR are connected.
Ideally you connect pi-<hdmi>-AVR-<hdmi>-TV but it sounds like you are not (due to AVR not supporting 4K, but TV does).
I assume you care connecting pi-<hdmi>-TV-<something>-AVR?
What is the <something>? Is that ARC or toslink/spdif?
They are limited to two-channel PCM. But two-channel PCM can carry passthrough of AC3 or DTS.
(Note: AAC and AC3 are distinct formats).
The good news is kodi can be configured to decode AAC, encode it to AC3 and output that as passthrough.
That will likely get you multi-channel audio. The operation is lossy, but would be imperceptible to most people.
In system/audio settings set:
Number of channels: 2
Allow passthrough: On
Dolby Digital (AC3) capable receiver: On
- Enable Dolby Digital (AC3) transcoding: On
DTS capable receiver: Off (you could try on, but that is less commonly supported by TVs)
It works now. I don't know how I missed the "Enable Dolby Digital (AC3) transcoding" option all the time. I must have set something so that option did not appear. Maybe I set the channels wrong?
Yes I'm using ARC, but I guess that does not matter now.
Btw. it also seems to work with enabled DTS.
Thank you so much for your help!!