Denis Oliver Kropp wrote:
> [EMAIL PROTECTED] wrote:
>>> http://git.directfb.org/?p=core/FusionSound.git;a=commit;h=23c67327a584655f7dae5566b30006380d97546a
>>> commit 23c67327a584655f7dae5566b30006380d97546a
>>> Author: Claudio Ciccani <[EMAIL PROTECTED]>
>>> Date: Fri May 11 16:21:07 2007 +0200
>>>
>>> Follow changes (i.e. implemeted support for multichannel streams).
>>>
>>> .../ifusionsoundmusicprovider_vorbis.c | 526 ++++-----
>>> .../ifusionsoundmusicprovider_wave.c | 1237
>>> ++++----------------
>>> 2 files changed, 481 insertions(+), 1282 deletions(-)
>>>
>>> http://git.directfb.org/?p=core/FusionSound.git;a=commit;h=96227156df100c836f785397e38a095a2803aba3
>>> commit 96227156df100c836f785397e38a095a2803aba3
>>> Author: Claudio Ciccani <[EMAIL PROTECTED]>
>>> Date: Fri May 11 16:15:26 2007 +0200
>>>
>>> FusionSound 1.1.0 is here and plays in Dolby Surround!
>>>
>>> Implemented support for up to 6 channels (Surround 5.1) sources
>>> (see the header for better explanation of the channels mapping).
>>> If you only need support for mono/stereo sources, you can
>>> pass --disable-multichannel to configure to avoid building the new code
>>> (thus saving space and memory).
>
> Awesome!
>
> Do you know if Alsa supports 5.1 on VIA VT8233/A/8235/8237 AC97 Audio
> Controller (rev 60)?
>
`grep "channels" /usr/src/linux-2.6.18/sound/pci/via82xx.c` gives me the
following:
> {
> /* set sample number to slot 3, 4, 7, 8, 6, 9 (for
> VIA8233/C,8235) */
> /* corresponding to FL, FR, RL, RR, C, LFE ?? */
> 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) | (3<<8) | (4<<12) | (5<<16);
> break;
> case 6: slots = (1<<0) | (2<<4) | (3<<8) | (4<<12) | (5<<16)
> | (6<<20); break;
> default: slots = 0; break;
> }
> }
Apparently it's supported, but the channels' order is a bit odd..
--
Regards,
Claudio Ciccani
[EMAIL PROTECTED]
http://directfb.org
http://sf.net/projects/php-directfb
_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev