winmm: Don't count unused frames.
This commit is contained in:
parent
35e4aac8f6
commit
0627ddcf15
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue