Module: wine Branch: master Commit: 5eabdff6aba82b20581bc567a376ba3893f9d6c1 URL: http://source.winehq.org/git/wine.git/?a=commit;h=5eabdff6aba82b20581bc567a3...
Author: Maarten Lankhorst m.b.lankhorst@gmail.com Date: Sun Sep 2 16:37:04 2007 +0200
winealsa: Use correct capture position in getposition.
---
dlls/winealsa.drv/dscapture.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/winealsa.drv/dscapture.c b/dlls/winealsa.drv/dscapture.c index 243f24a..7c1aaad 100644 --- a/dlls/winealsa.drv/dscapture.c +++ b/dlls/winealsa.drv/dscapture.c @@ -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);