Commit 0627ddcf authored by Andrew Eikum's avatar Andrew Eikum Committed by Alexandre Julliard

winmm: Don't count unused frames.

parent 35e4aac8
......@@ -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:
......
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