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

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

parent 83e0d1fe
...@@ -1563,7 +1563,7 @@ static HRESULT WINAPI AudioCaptureClient_GetBuffer(IAudioCaptureClient *iface, ...@@ -1563,7 +1563,7 @@ static HRESULT WINAPI AudioCaptureClient_GetBuffer(IAudioCaptureClient *iface,
params.stream = This->pulse_stream; params.stream = This->pulse_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;
pulse_call(get_capture_buffer, &params); pulse_call(get_capture_buffer, &params);
......
...@@ -117,7 +117,7 @@ struct get_capture_buffer_params ...@@ -117,7 +117,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