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
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to