dsound primary.c fix

Robert Reif reif at earthlink.net
Tue Apr 1 18:34:47 CST 2003


This patch fixes a problem where the wave handle
could be used when it is NULL.

This shouldn't be a problem in normal practice but
is encountered when closing and immediately opening
another sound device.  Waiting a while before opening
another device or opening it again after failure works
but the real cause of the problem is unknown.  At least
with this patch, the program won't crash.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: primary.c.diff
Type: application/x-unknown-content-type-diff_auto_file
Size: 446 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20030401/c00a09f6/primary.c.bin


More information about the wine-patches mailing list