[PATCH RFC 4/5] dsound: Clean up channels

Alexander E. Patrakov patrakov at gmail.com
Sat Dec 24 09:14:08 CST 2011

The infrastructure set up in the "Replace convert() functions with
get() and put()" also allows to convert the number of channels more
elegantly. See how much deeply-nested code and complex conditions was
removed from cp_fields() :)

Yes, I know that, if wine supported 5.1 primary buffers, the refactoring
would not be 100% equivalent for the 5.1 -> 5.1 case. In fact, the
extra channels are not dropped anymore. Can anyone check if this is
enough to allow 5.1 primary buffers?

Alexander E. Patrakov
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0005-dsound-Clean-up-channels.txt
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20111224/59fca19f/attachment.txt>

More information about the wine-patches mailing list