[PATCH] dsound: Make GlobalHandle() for the sound buffer failed.

Akihiro Sagawa sagawa.aki at gmail.com
Tue Feb 25 08:10:41 CST 2020


I think GlobalHandle() does the right thing here because it should succeed
if the buffer is allocated by GlobalAlloc(GMEM_FIXED) or HeapAlloc().
Therefore, dsound needs to be fixed.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48635
Signed-off-by: Akihiro Sagawa <sagawa.aki at gmail.com>
---
 dlls/dsound/buffer.c       | 16 +++++-----------
 dlls/dsound/tests/dsound.c |  6 ++++++
 2 files changed, 11 insertions(+), 11 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-dsound-Make-GlobalHandle-for-the-sound-buffer-failed.patch
Type: text/x-patch
Size: 2483 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20200225/2b0b70a1/attachment.bin>


More information about the wine-devel mailing list