Commit c8e0f585 authored by Michael Müller's avatar Michael Müller Committed by Alexandre Julliard

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

Fixes a regression introduced in c8c6cc97. Signed-off-by: 's avatarMichael Müller <michael@fds-team.de> Signed-off-by: 's avatarSebastian Lackner <sebastian@fds-team.de> Signed-off-by: 's avatarAndrew Eikum <aeikum@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 3c54d4fb
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment