winealsa: Use correct capture position in getposition.

This commit is contained in:
Maarten Lankhorst 2007-09-02 16:37:04 +02:00 committed by Alexandre Julliard
parent bbc5757263
commit 5eabdff6ab
1 changed files with 1 additions and 1 deletions

View File

@ -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);