From 0627ddcf1528c98ad6b2a5efb56184b80a3b6198 Mon Sep 17 00:00:00 2001 From: Andrew Eikum Date: Fri, 26 Jul 2013 14:17:06 -0500 Subject: [PATCH] winmm: Don't count unused frames. --- dlls/winmm/waveform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/winmm/waveform.c b/dlls/winmm/waveform.c index 76d624a58ea..752e64d4dad 100644 --- a/dlls/winmm/waveform.c +++ b/dlls/winmm/waveform.c @@ -1901,7 +1901,7 @@ static void WID_PullData(WINMM_Device *device) if(packet > 0) WARN("losing %u frames\n", packet); - device->played_frames += packet_len; + device->played_frames += packet_len - packet; } exit: -- 2.11.4.GIT