Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: covici@ccs.covici.com
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: rc2 stereo problem with via8233
Date: Thu, 27 Jun 2002 19:41:28 +0200	[thread overview]
Message-ID: <s5hhejoobzr.wl@alsa2.suse.de> (raw)
In-Reply-To: <15643.16455.420976.668125@ccs.covici.com>

[-- Attachment #1: Type: text/plain, Size: 181 bytes --]

At Thu, 27 Jun 2002 12:41:43 -0400,
John covici wrote:
> 
> OK, a stereo PCM does play both channels, a mono pcm plays left
> channel only.

then try the following patch.


Takashi

[-- Attachment #2: via8233-fix.dif --]
[-- Type: application/octet-stream, Size: 749 bytes --]

Index: alsa-kernel/pci/via8233.c
===================================================================
RCS file: /suse/tiwai/cvs/alsa/alsa-kernel/pci/via8233.c,v
retrieving revision 1.17
diff -u -r1.17 via8233.c
--- alsa-kernel/pci/via8233.c	26 Jun 2002 15:13:05 -0000	1.17
+++ alsa-kernel/pci/via8233.c	27 Jun 2002 17:39:42 -0000
@@ -364,7 +364,7 @@
 		outb(fmt, chip->port + VIA_REG_MULTPLAY_FORMAT);
 		/* set sample number to slot 3, 4, 7, 8, 6, 9 */
 		switch (runtime->channels) {
-		case 1: slots = (1<<0); break;
+		case 1: slots = (1<<0) | (1<<4); break;
 		case 2: slots = (1<<0) | (2<<4); break;
 		case 4: slots = (1<<0) | (2<<4) | (3<<8) | (4<<12); break;
 		case 6: slots = (1<<0) | (2<<4) | (5<<8) | (6<<12) | (3<<16) | (4<<20); break;

  parent reply	other threads:[~2002-06-27 17:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-25 18:12 rc2 stereo problem with via8233 John Covici
2002-06-26 16:59 ` Takashi Iwai
     [not found]   ` <15642.10186.820516.331246@ccs.covici.com>
2002-06-27 12:38     ` Takashi Iwai
2002-06-27 14:14       ` John covici
2002-06-27 14:23         ` Takashi Iwai
     [not found]           ` <15643.16455.420976.668125@ccs.covici.com>
2002-06-27 17:41             ` Takashi Iwai [this message]
2002-06-29  0:32               ` John Covici
2002-07-01 10:03                 ` Takashi Iwai
2002-07-03  0:21                 ` Nick French

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=s5hhejoobzr.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=covici@ccs.covici.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