Module: wine Branch: master Commit: ef0a0d8b86b42962d5b8a114097943168f53c251 URL: http://source.winehq.org/git/wine.git/?a=commit;h=ef0a0d8b86b42962d5b8a11409...
Author: Maarten Lankhorst m.b.lankhorst@gmail.com Date: Tue Jan 5 22:20:52 2010 +0100
Revert "dsound: Only initialize one guid for capture and renderer."
Reverts b474649e0e9491f938f1daec74cdca01343dd97e. Some games use pointers to the guid rather than copying the guid even after the enumeration function returns. Allocating on the stack breaks those games.
---
dlls/dsound/capture.c | 11 ++++-- dlls/dsound/dsound.c | 10 +++-- dlls/dsound/dsound_main.c | 76 +++++++++++++++++++++--------------------- dlls/dsound/dsound_private.h | 5 ++- dlls/dsound/propset.c | 14 +++---- 5 files changed, 60 insertions(+), 56 deletions(-)
Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=ef0a0d8b86b42962d5b8a1...