dsound: fix test for some windows versions

Jesse Allen the3dfxdude at gmail.com
Wed Apr 22 00:01:15 CDT 2009


This fixes a test for some more sound drivers or versions of windows.
The particular test is looking for whether the CreateSoundBuffer call
will fail with DSERR_INVALIDCALL (as a few like mine do), but most
drivers seem to give E_INVALIDARG.  Therefore this just adds the extra
possibility, as all the test cares about really is not creating a
sound buffer with the incorrect cbSize parameter.

See these two WinXP test logs for reference
http://test.winehq.org/data/16a052817457ad34de8fd6b171697660eac9d896/xp_dr-asus/dsound:dsound8.html
http://test.winehq.org/data/16a052817457ad34de8fd6b171697660eac9d896/xp_fg-winxp-ie7/dsound:dsound8.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-dsound-fix-test-for-some-windows.patch
Type: application/octet-stream
Size: 993 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090421/3d23ae08/attachment.obj>


More information about the wine-patches mailing list