Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Anton Worshevsky <gbdj@linux.spb.org>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: via8235 swaped channels
Date: Fri, 24 Jan 2003 16:54:53 +0100	[thread overview]
Message-ID: <s5h4r7ypmpe.wl@alsa2.suse.de> (raw)
In-Reply-To: <13613.030124@linux.spb.org>

At Thu, 23 Jan 2003 23:29:56 +0300,
Anton Worshevsky wrote:
> 
> Dear Takashi Iwai,
> 
> Thursday, January 16, 2003, 12:21:42 PM, you wrote:
> 
> >> >  if someone has VIA8233, VIA8233A, VIA8233C or VIA8235 chipset, could
> >> >  you help the testing of the new driver?
> >> >  the new driver code is found at
> >> >
> >> >         http://www.alsa-project.org/~iwai/via82xx.c
> >>
> >> i has VIA8235 and ALC650 codec. After installing new driver from cvs from
> >> 20030113, there is following problem:
> >>
> >> In 5.1-channel dvd playback with xine using surround51 device,
> >> i has swapped Rear and Center/lfe channels.
> >> RL <-> Center, RR <-> LFE
> 
> this can be fixed just by exchanging Rear and Center/LFE jacks
> 
> >> i fixed this with following patch for via82xx.c
> >>
> >> 812,813c812,815
> >> <       case 5: slots = (1<<0) | (2<<4) | (5<<8) | (3<<12) | (4<<16); break;
> >> <       case 6: slots = (1<<0) | (2<<4) | (5<<8) | (6<<12) | (3<<16) | (4<<20); break;
> >> ---
> >> > //    case 5: slots = (1<<0) | (2<<4) | (5<<8) | (3<<12) | (4<<16); break;
> >> > //    case 6: slots = (1<<0) | (2<<4) | (5<<8) | (6<<12) | (3<<16) | (4<<20); break;
> >> >       case 5: slots = (1<<0) | (2<<4) | (3<<8) | (4<<12) | (5<<16); break;
> >> >       case 6: slots = (1<<0) | (2<<4) | (3<<8) | (4<<12) | (5<<16) | (6<<20); break;
> >>
> >> I'm not sure that it is alsa problem, xine' may be.
> 
> TI> hmm, it could be due to the setting of ALC650.  how is the status of
> TI> "Exchange Center/LFE" mixer switch?
> 
> This switch has no effect. Strange. Usually its muted.
> Now i think this is ALC650 problem.
> Is there problem exist on via8235 with other codecs?
 
the switch above is irrelevant to this behavior.  sorry for confusion.
but there is another register bits, and i fixed it on the cvs.

please update your alsa-kernel tree via cvs and give a try.


> >> It will be nice to have a small prog for channel position testing in different
> >> playback modes, because now i know no 5.1ch source other then video player.
> >> In general multichannel playback has good quality now (with rc6 sound was
> >> cracking).
> 
> Can you point me to a 5.1ch test audio file where recorded signals for single
> channel in known order ?
> I can easily understand where center channel is playing, but understanding where
> is Sub playing much more difficult task. You need big Stardestroyer for it =)

well, i'm usually testing with a wav file decoded from an AC3 demo
sound.  the best way would be to create a file containing completely
different samples (e.g. different songs) per channel...


Takashi


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

  reply	other threads:[~2003-01-24 15:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-24 11:43 via8235 swaped channels Anton Worshevsky
2003-01-24 15:54 ` Takashi Iwai [this message]
2003-01-27 19:40   ` Re[2]: " Anton Worshevsky

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=s5h4r7ypmpe.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=gbdj@linux.spb.org \
    /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