Amlogic-NO discussion

I haven’t actually tested Optimised setting. However, I wouldn’t assume any of these test builds will make it into normal nightlies just yet!

@Portisch - what I have tested so far - any of the odd/unusual PCM formats like 3.0/4.0/5.0 are working with your workaround. My AVR is receiving 7.1 from my N2+ over HDMI on any PCM input format whether it is 2.0 or 4.0 or 5.0 or 5.1. This is similar to setting Kodi to “Fixed” except that the sampling rate (44.1kHz/48kHz/88.2kHz/96kHz etc.) of the input is mapped to the output although all are at 7.1. It sounds ok to me. Other folks may not like that their AVRs will always display 7.1.

On the NG build every input format is output in the correct output format. Is it in any way likely that the full answer to this issue lies in common_drivers/sound/soc/amlogic/auge/tdm.c ?

This file (for NO) seems to have some very unlikely speaker channel mappings that you would not encounter in normal music formats. The only music formats I have seen are 2.0/3.0/4.0/5.0 and 5.1

A three speaker layout is always 3.0 (never 2.1) and a four speaker layout is 4.0 (never 3.1) and a five speaker layout is always 5.0 (never 4.1). Maybe the AE_CH_LAYOUT formats for 2.0/3.0/4.0/5.0/5.1 should be at the top of the list? I don’t see this very comprehensive list for drivers in NG. Just a suggestion.

Joe