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

Detlef Riekenberg wine.dev at web.de
Tue Apr 21 16:09:18 CDT 2009


On Mo, 2009-04-20 at 21:51 -0700, Jesse Allen wrote:
> 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

Hi Jesse.
Your patch introduced failures for the dsound-test on some
systems with win98, w2k and w2k3.
( http://test.winehq.org/data/tests/dsound:dsound8.html )

Can you please take a look?
Thanks

-- 
 
By by ... Detlef




More information about the wine-devel mailing list