2012-02-12, 08:22
DDDamian Wrote:Hi Daniela - code looks a little more streamlined that way too - using the switch/case to set more of the specifics per codec. Not sure if the hi-def formats should always be 8-channel, but it's the most reasonable fallback position.It's more a matter of correctly modeling reality rather than fallback, to be precise. The background is the HDMI transport protocol which carries either exactly one IEC 60958 audio stream in its multiplex, or four of them. This relates to a 2-channel or a 8-channel sample structure at the interface level. The true number of output channels in a given audio stream is determined by out-of-band 'valid' flags in case of LPCM or in-band signaling in case of the various encoded formats according to IEC 61937.