dsound: Correct deallocations when DuplicateSoundBuffer fails.

Joerg-Cyril.Hoehle at t-systems.com Joerg-Cyril.Hoehle at t-systems.com
Tue Oct 6 06:22:29 CDT 2009


this is the third and last in my current series of dsound patches.
Using the new DSOUND_CopyFormat, it depends on the previous patch.

It fixes the following:
 - device->buffer is a shared resource with refcount;
 - ppdsb not zeroed in last case;
 - also, I found it illogical to call RecalcFormat before CopyFormat.

	Jörg Höhle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dsound3.patch
Type: application/text
Size: 2654 bytes
Desc: dsound3.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20091006/5f8763ed/attachment.bin>

More information about the wine-patches mailing list