From 5eabdff6aba82b20581bc567a376ba3893f9d6c1 Mon Sep 17 00:00:00 2001 From: Maarten Lankhorst Date: Sun, 2 Sep 2007 16:37:04 +0200 Subject: [PATCH] winealsa: Use correct capture position in getposition. --- dlls/winealsa.drv/dscapture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/winealsa.drv/dscapture.c b/dlls/winealsa.drv/dscapture.c index 243f24a68e2..7c1aaad1bb2 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);