From c8e0f5855294b7456a278e37ad18de2c7c4adbc0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michael=20M=C3=BCller?= Date: Mon, 16 Jan 2017 14:55:46 +0100 Subject: [PATCH] dsound: Respect return value of callback in DirectSoundEnumerateA/W. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fixes a regression introduced in c8c6cc97bcaab5441ea200041bb7cc99c4ba01fb. Signed-off-by: Michael Müller Signed-off-by: Sebastian Lackner Signed-off-by: Andrew Eikum Signed-off-by: Alexandre Julliard --- 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 112ce78d4a2..796fe1e5261 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; } -- 2.11.4.GIT