=?UTF-8?Q?Michael=20M=C3=BCller=20?=: dsound: Respect return value of callback in DirectSoundEnumerateA/W.

Alexandre Julliard julliard at winehq.org
Mon Jan 16 15:48:49 CST 2017


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

Author: Michael Müller <michael at fds-team.de>
Date:   Mon Jan 16 14:55:46 2017 +0100

dsound: Respect return value of callback in DirectSoundEnumerateA/W.

Fixes a regression introduced in c8c6cc97bcaab5441ea200041bb7cc99c4ba01fb.

Signed-off-by: Michael Müller <michael at fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
Signed-off-by: Andrew Eikum <aeikum at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/dsound/dsound_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/dsound/dsound_main.c b/dlls/dsound/dsound_main.c
index 112ce78..796fe1e 100644
--- a/dlls/dsound/dsound_main.c
+++ b/dlls/dsound/dsound_main.c
@@ -510,7 +510,7 @@ HRESULT enumerate_mmdevices(EDataFlow flow, GUID *guids,
         }
 
         if(device != defdev){
-            send_device(device, &guids[n], cb, user);
+            keep_going = send_device(device, &guids[n], cb, user);
             ++n;
         }
 




More information about the wine-cvs mailing list