[PATCH] dsound: Don't destroy primary buffer until device is released

Andrew Eikum aeikum at codeweavers.com
Wed May 9 08:48:56 CDT 2012


---

As if the refcounting in dsound wasn't screwed up enough...

This fixes bug 26985.

 dlls/dsound/buffer.c         |   44 +++++++++++++++++++++++++++---------------
 dlls/dsound/dsound.c         |    5 -----
 dlls/dsound/dsound_private.h |    1 +
 dlls/dsound/primary.c        |   33 +++++++++++++++++++++++--------
 dlls/dsound/sound3d.c        |    9 +++++----
 dlls/dsound/tests/dsound.c   |    9 +++++++++
 6 files changed, 68 insertions(+), 33 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-dsound-Don-t-destroy-primary-buffer-until-device-is-.patch
Type: text/x-patch
Size: 6881 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120509/bdc95112/attachment.bin>


More information about the wine-patches mailing list