Commit 5eabdff6 authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Alexandre Julliard

winealsa: Use correct capture position in getposition.

parent bbc57572
......@@ -516,7 +516,7 @@ static HRESULT WINAPI IDsCaptureDriverBufferImpl_GetPosition(PIDSCDRIVERBUFFER i
hw_wptr = This->mmap_pos;
if (lpdwCappos)
*lpdwCappos = realpos_to_fakepos(This, hw_wptr);
*lpdwCappos = realpos_to_fakepos(This, hw_pptr);
if (lpdwReadpos)
*lpdwReadpos = realpos_to_fakepos(This, hw_wptr);
......
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