public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Matthias Reichl <hias@horus.com>
Cc: Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>, Jaroslav Kysela <perex@perex.cz>,
	Takashi Iwai <tiwai@suse.com>, Dom Cobley <popcornmix@gmail.com>,
	alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ASoC: hdmi-codec: fix channel info for compressed formats
Date: Sun, 25 Jun 2023 10:34:19 +0200	[thread overview]
Message-ID: <87o7l4vt2s.wl-tiwai@suse.de> (raw)
In-Reply-To: <20230624165232.5751-1-hias@horus.com>

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@horus.com>

Thanks, applied now.


Takashi

  reply	other threads:[~2023-06-25  8:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-24 16:52 [PATCH] ASoC: hdmi-codec: fix channel info for compressed formats Matthias Reichl
2023-06-25  8:34 ` Takashi Iwai [this message]
2023-06-29 10:33 ` Mark Brown
2023-06-29 10:44   ` Takashi Iwai
2023-06-29 10:53     ` Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o7l4vt2s.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=hias@horus.com \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=popcornmix@gmail.com \
    --cc=tiwai@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox