Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: p z oooo <pzad@pobox.sk>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: VIA 8233A, 8235 with ALC650 codec
Date: Wed, 19 Feb 2003 10:22:21 +0100	[thread overview]
Message-ID: <s5hadgshbg2.wl@alsa2.suse.de> (raw)
In-Reply-To: <200302190651.HAA14535@www7.pobox.sk>

At Wed, 19 Feb 2003 07:51:56 +0100,
p z oooo wrote:
> 
> I played with 8233A ALC650 and:
> 
> 1) this part of code is not working:
> 
> switch (runtime->channels) {
> 	case 1: slots = (1<<0) | (1<<4); break;
> 	case 2: slots = (1<<0) | (2<<4); break;
> 	case 3: slots = (1<<0) | (2<<4) | (5<<8); break;
> 	case 4: slots = (1<<0) | (2<<4) | (3<<8) | (4<<12); 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;
> 	default: slots = 0; break;
> 	}
> 	/* STOP index is never reached */
> 	outl(0xff000000 | slots, VIADEV_REG(viadev, 
> OFFSET_STOP_IDX)); 
> 
> I think that 8233A uses this slots mapping and this can't be changed 
> with previous code. I changed 
> case 6: slots = (1<<0) | (2<<4) | (5<<8) | (6<<12) | (3<<16) | 
> (4<<20); break;
> to
> case 6: slots = (1<<0) | (2<<4) | (3<<8) | (4<<12) | (5<<16) | 
> (6<<20); break;
> and this doesn't work (no change).
> 
> channels slots
> 1 - 3, 4
> 2 - 3, 4
> 4 - 3, 4, 7, 8
> 6 - 3, 4, 6, 9, 7, 8

ok, i changed it on cvs.

thanks!


Takashi


-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge

  reply	other threads:[~2003-02-19  9:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-19  6:51 VIA 8233A, 8235 with ALC650 codec p z oooo
2003-02-19  9:22 ` Takashi Iwai [this message]
     [not found]   ` <000d01c2d7fb$4f521de0$8601a8c0@ZUBAJPNEW>
2003-02-19 10:04     ` Takashi Iwai
  -- strict thread matches above, loose matches on Subject: below --
2003-02-20  6:19 p z oooo
2003-02-20  9:06 ` Takashi Iwai
2003-02-10  9:14 VIA 8233A Takashi Iwai
2003-02-18  4:43 ` VIA 8233A, 8235 with ALC650 codec Anton Worshevsky
2003-02-18 17:03   ` Takashi Iwai
2003-02-20  2:51     ` Anton Worshevsky
2003-02-20  9:08       ` Takashi Iwai
2003-02-23 21:50         ` Anton Worshevsky
2003-02-25 17:00           ` 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=s5hadgshbg2.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=pzad@pobox.sk \
    /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