dsound: Use correct pointer type.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Andrew Eikum <aeikum@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
3d8bd66511
commit
339d9e3a6a
|
@ -699,7 +699,7 @@ static void DSOUND_PerformMix(DirectSoundDevice *device)
|
|||
if (!pad_frames)
|
||||
WARN("Probable buffer underrun\n");
|
||||
|
||||
hr = IAudioRenderClient_GetBuffer(device->render, frames, (void*)&buffer);
|
||||
hr = IAudioRenderClient_GetBuffer(device->render, frames, (BYTE **)&buffer);
|
||||
if(FAILED(hr)){
|
||||
WARN("GetBuffer failed: %08x\n", hr);
|
||||
LeaveCriticalSection(&device->mixlock);
|
||||
|
|
Loading…
Reference in New Issue