lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87o7l4vt2s.wl-tiwai@suse.de>
Date:   Sun, 25 Jun 2023 10:34:19 +0200
From:   Takashi Iwai <tiwai@...e.de>
To:     Matthias Reichl <hias@...us.com>
Cc:     Liam Girdwood <lgirdwood@...il.com>,
        Mark Brown <broonie@...nel.org>,
        Jaroslav Kysela <perex@...ex.cz>,
        Takashi Iwai <tiwai@...e.com>,
        Dom Cobley <popcornmix@...il.com>, alsa-devel@...a-project.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ASoC: hdmi-codec: fix channel info for compressed formats

On Sat, 24 Jun 2023 18:52:32 +0200,
Matthias Reichl wrote:
> 
> According to CTA 861 the channel/speaker allocation info in the
> audio infoframe only applies to uncompressed (PCM) audio streams.
> 
> The channel count info should indicate the number of channels
> in the transmitted audio, which usually won't match the number of
> channels used to transmit the compressed bitstream.
> 
> Some devices (eg some Sony TVs) will refuse to decode compressed
> audio if these values are not set correctly.
> 
> To fix this we can simply set the channel count to 0 (which means
> "refer to stream header") and set the channel/speaker allocation to 0
> as well (which would mean stereo FL/FR for PCM, a safe value all sinks
> will support) when transmitting compressed audio.
> 
> Signed-off-by: Matthias Reichl <hias@...us.com>

Thanks, applied now.


Takashi

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ