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

Fixes a regression introduced in c8c6cc97bc.

Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Müller 2017-01-16 14:55:46 +01:00 committed by Alexandre Julliard
parent 3c54d4fb69
commit c8e0f58552
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}