[PATCH 2/2] mmdevapi: Accept up to 8 channels.

Joerg-Cyril.Hoehle at t-systems.com Joerg-Cyril.Hoehle at t-systems.com
Wed Sep 7 07:26:01 CDT 2011


Hi,

: if(max > 7)
always felt wrong since there have been patches
every now and then to support 8 channels.

Note that I can't test that stuff with my poor stereo headphones.

Googling for KSAUDIO_SPEAKER_* it appears that different projects use
slightly different sets of SPEAKER_* (esp. about LFE with 3 or 5
channels).  Thus I believe it's wrong that Winealsa restricts itself
to one particular choice in IsFormatSupported, yielding S_FALSE when
get_channel_mask() != dwChannelMask

There's also this guy who explored the relationship between
dwChannelMask and nChannels in detail:
Defining speaker locations in multi-channel streams
http://homepage.mac.com/carsten.schulz/wdmaudiodev/C641039305/E1238357361/Media/spkloc00.01.00.pdf

Perhaps Wine should just accept almost any channel mask until it
really feeds the channel information to the underlying ALSA/OSS/CoreAudio.

Regards,
 Jörg Höhle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-mmdevapi-Accept-up-to-8-channels.patch
Type: application/octet-stream
Size: 5997 bytes
Desc: 0002-mmdevapi-Accept-up-to-8-channels.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20110907/80e567fc/attachment.obj>


More information about the wine-patches mailing list