Commit af1257f7 authored by Davide Beatrici's avatar Davide Beatrici Committed by Alexandre Julliard

winecoreaudio: Adapt "get_capture_buffer_params" struct to mmdevapi's.

parent 0987d1b0
...@@ -1357,7 +1357,7 @@ static HRESULT WINAPI AudioCaptureClient_GetBuffer(IAudioCaptureClient *iface, ...@@ -1357,7 +1357,7 @@ static HRESULT WINAPI AudioCaptureClient_GetBuffer(IAudioCaptureClient *iface,
params.stream = This->stream; params.stream = This->stream;
params.data = data; params.data = data;
params.frames = frames; params.frames = frames;
params.flags = flags; params.flags = (UINT *)flags;
params.devpos = devpos; params.devpos = devpos;
params.qpcpos = qpcpos; params.qpcpos = qpcpos;
UNIX_CALL(get_capture_buffer, &params); UNIX_CALL(get_capture_buffer, &params);
......
...@@ -99,7 +99,7 @@ struct get_capture_buffer_params ...@@ -99,7 +99,7 @@ struct get_capture_buffer_params
HRESULT result; HRESULT result;
BYTE **data; BYTE **data;
UINT32 *frames; UINT32 *frames;
DWORD *flags; UINT *flags;
UINT64 *devpos; UINT64 *devpos;
UINT64 *qpcpos; UINT64 *qpcpos;
}; };
......
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