http://bugs.winehq.org/show_bug.cgi?id=11764
--- Comment #29 from Raymond superquad.vortex2@gmail.com 2011-01-06 18:26:19 CST --- (In reply to comment #27)
Alsa works very well with multi-channel. I would take a look at the alsa sources for this alsa program that works out of the box:
speaker-test
I am not a c/c++ programmer so I leave it to you.
ALSA require sound card to use "surround40" , "surround51" to play multi-channels
it is ok if you are using the onboard HDA with 6 audio jacks in rear panel
if you look at the above URL of intel desktop audio support
when your Micro ATX motherboard only has three audio jacks you need to configure Configuring 6-Channel Audio and retask "Mic" and "line" for output
Item Description A Line In [retaskable as Rear Left/Right Out] B Line Out [Front Left/Right Out] C Mic In [retaskable as Center/LFE (Subwoofer) Out]
the other sound cards may need to change the "channel mode" from "2" to "6" and that switch is hooked with the "surround51" device in /usr/share/alsa/cards/*.conf
but winealsa does not use those devices name