Commit 346e04da authored by Davide Beatrici's avatar Davide Beatrici Committed by Alexandre Julliard

winealsa: Fix WoW64 failure when calling get_position().

Bug introduced in e29dc33a.
parent 533b3def
......@@ -2735,6 +2735,7 @@ static NTSTATUS alsa_wow64_get_position(void *args)
struct
{
stream_handle stream;
BOOL device;
HRESULT result;
PTR32 pos;
PTR32 qpctime;
......@@ -2742,6 +2743,7 @@ static NTSTATUS alsa_wow64_get_position(void *args)
struct get_position_params params =
{
.stream = params32->stream,
.device = params32->device,
.pos = ULongToPtr(params32->pos),
.qpctime = ULongToPtr(params32->qpctime)
};
......
......@@ -1482,6 +1482,7 @@ static HRESULT WINAPI AudioClock_GetPosition(IAudioClock *iface, UINT64 *pos,
return E_POINTER;
params.stream = This->stream;
params.device = FALSE;
params.pos = pos;
params.qpctime = qpctime;
......
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