dsound: Allow a special cbSize case in CreateSoundBuffer (updated)

Jesse Allen the3dfxdude at gmail.com
Mon Apr 20 23:51:47 CDT 2009


In CreateSoundBuffer, some apps pass sizeof(WAVEFORMATEXTENSIBLE) for
the cbSize and we have to allow it, but only when the SubFormat is
KSDATAFORMAT_SUBTYPE_PCM.

This updated patch is simpler... at the expense of being less clear ;)

Includes test cases which were verified on WinXP.
Fixes bug #11716
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-dsound-Allow-a-special-cbSize-case-in-CreateSoundBu.patch
Type: application/octet-stream
Size: 3555 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090420/d82a8ff8/attachment-0001.obj>


More information about the wine-patches mailing list