From: Takashi Iwai <tiwai@suse.de>
To: Sylvain BERTRAND <sylvain.bertrand@legeek.net>
Cc: alsa-devel@alsa-project.org
Subject: Re: [PATCH][LINUX][ALSA][USB AUDIO CLASS 1] wrong channel ids for surround
Date: Wed, 31 Jul 2024 11:26:38 +0200 [thread overview]
Message-ID: <87h6c5zzch.wl-tiwai@suse.de> (raw)
In-Reply-To: <ZqIyJD8lhd8hFhlC@freedom>
On Thu, 25 Jul 2024 13:08:20 +0200,
Sylvain BERTRAND wrote:
>
> Hi,
>
> In the USB audio class 1 specifications, page 33 (3.7.2.3 Audio Channel Cluster Format):
>
> Surround is spatially defined as [rear], hence left surround should be SNDRV_CHMAP_RL and not SND_CHMAP_SL (Side).
> Same for right surround channel.
>
> Right?
Yes, this looks rather like a typo, SL/SR appear twice there.
>
> I am not a mailing list subscriber, CC me please.
>
> regards,
Could you submit a properly formatted patch (with a patch description
and your Signed-off-by tag) to linux-sound ML
(linux-sound@vger.kernel.org) instead?
thanks,
Takashi
>
> --
> Sylvain BERTRAND
>
>
> --- a/sound/usb/stream.c
> +++ b/sound/usb/stream.c
> @@ -244,8 +244,8 @@ static struct snd_pcm_chmap_elem *convert_chmap(int channels, unsigned int bits,
> SNDRV_CHMAP_FR, /* right front */
> SNDRV_CHMAP_FC, /* center front */
> SNDRV_CHMAP_LFE, /* LFE */
> - SNDRV_CHMAP_SL, /* left surround */
> - SNDRV_CHMAP_SR, /* right surround */
> + SNDRV_CHMAP_RL, /* left surround */
> + SNDRV_CHMAP_RR, /* right surround */
> SNDRV_CHMAP_FLC, /* left of center */
> SNDRV_CHMAP_FRC, /* right of center */
> SNDRV_CHMAP_RC, /* surround */
>
next prev parent reply other threads:[~2024-07-31 9:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-25 11:08 [PATCH][LINUX][ALSA][USB AUDIO CLASS 1] wrong channel ids for surround Sylvain BERTRAND
2024-07-31 9:26 ` Takashi Iwai [this message]
2024-07-31 14:06 ` Sylvain BERTRAND
2024-07-31 14:19 ` Takashi Iwai
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=87h6c5zzch.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=sylvain.bertrand@legeek.net \
/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