Maarten Lankhorst : Revert "dsound: Only initialize one guid for capture and renderer."

Alexandre Julliard julliard at winehq.org
Wed Jan 6 13:00:56 CST 2010


Module: wine
Branch: master
Commit: ef0a0d8b86b42962d5b8a114097943168f53c251
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ef0a0d8b86b42962d5b8a114097943168f53c251

Author: Maarten Lankhorst <m.b.lankhorst at 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=ef0a0d8b86b42962d5b8a114097943168f53c251



More information about the wine-cvs mailing list