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

2009-04-21 Thread Detlef Riekenberg
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 ;) >

Re: dsound: Allow a special cbSize case in CreateSoundBuffer

2009-04-20 Thread Maarten Lankhorst
Hey Jesse, Jesse Allen schreef: OK now do you have comments? I have test cases. On Sun, Apr 19, 2009 at 6:30 PM, 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