diff --git a/dlls/dsound/capture.c b/dlls/dsound/capture.c index f089313027d..174355a22f5 100644 --- a/dlls/dsound/capture.c +++ b/dlls/dsound/capture.c @@ -942,7 +942,7 @@ static HRESULT IDirectSoundCaptureBufferImpl_Create( return err; } } else { - DWORD flags = CALLBACK_FUNCTION; + DWORD flags = CALLBACK_FUNCTION | WAVE_MAPPED; err = mmErr(waveInOpen(&(device->hwi), device->drvdesc.dnDevNode, device->pwfx, (DWORD_PTR)DSOUND_capture_callback, (DWORD_PTR)device, flags)); diff --git a/dlls/dsound/primary.c b/dlls/dsound/primary.c index aa8450f425d..8a87c966646 100644 --- a/dlls/dsound/primary.c +++ b/dlls/dsound/primary.c @@ -125,7 +125,7 @@ HRESULT DSOUND_ReopenDevice(DirectSoundDevice *device, BOOL forcewave) if (device->drvdesc.dwFlags & DSDDESC_DOMMSYSTEMOPEN) { - DWORD flags = CALLBACK_FUNCTION; + DWORD flags = CALLBACK_FUNCTION | WAVE_MAPPED; if (device->driver) flags |= WAVE_DIRECTSOUND;