All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Clemens Ladisch" <cladisch@fastmail.net>
To: Andreas Mohr <andi@rhlx01.fht-esslingen.de>,
	alsa-devel@lists.sourceforge.net
Subject: Re: Long-standing 5.1ch huge LFE/rear swap annoyance (ALSA vs. Windows!)
Date: Mon, 20 Nov 2006 15:06:50 +0100	[thread overview]
Message-ID: <1164031610.1310.276596069@webmail.messagingengine.com> (raw)
In-Reply-To: <20061118013834.GA22785@rhlx01.hs-esslingen.de>

Andreas Mohr wrote:
> as I'm trying to improve support for my el-cheapo USB audio adapter,
> I found that one of the bigger issues is swapping of Center/LFE vs.
> rear speakers, as can be seen when running
> 
> speaker-test -c 6 -D pcm.USBAudio
> 
> My theory is that since wave extensible is an established format with different
> channel ordering that some soundcards chose to use this swapped ordering in hardware.

Some do, some don't.

> And ALSA didn't care much since it didn't want to have to expensively remix samples
> into correct order?

Rerouting channels is actually quite cheap.

> But OTOH *if* the comment above is correct and ALSA *does* employ a modified channel
> order vs. Windows and Mac OS X, then it seems as if it might be speaker-test which
> *doesn't* obey this ALSA ordering???

speaker-test _does_ obey the ALSA ordering.  However, USB devices do not,
and there is not yet an ALSA configuration file for remapping channels
on USB devices.

This is a bug in the ALSA library.

> Could we please try to put an end to this insanity?

I'm working on this.

> Is there anyone who has extensive experience with 5.1 surround channel ordering status
> of many different soundcards on ALSA? How many "ok", how many swapped?

AFAIK USB devices are the only ones where channels are swapped.

> Oh, and if the answer is that I should try to fix this on a per-driver (per-card)
> basis, then could anyone tell me where the heck I'd have to tweak snd-usb-audio
> for correct channel order?

You would have to write /usr/share/alsa/cards/USB-Audio.conf.


HTH
Clemens

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

  parent reply	other threads:[~2006-11-20 14:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-18  1:38 Long-standing 5.1ch huge LFE/rear swap annoyance (ALSA vs. Windows!) Andreas Mohr
2006-11-18  4:43 ` Daniel Yek
2006-11-20 14:06 ` Clemens Ladisch [this message]
2006-11-20 14:31   ` Takashi Iwai
2006-11-20 19:51     ` Andreas Mohr
2006-11-20 19:55       ` Lee Revell
2006-11-21 10:21     ` Clemens Ladisch
2006-11-21 10:34       ` 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=1164031610.1310.276596069@webmail.messagingengine.com \
    --to=cladisch@fastmail.net \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=andi@rhlx01.fht-esslingen.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.