[PATCH 1/4] winmm: Use microsecond unit in MIDI stream position variable to simplify the code.

Akihiro Sagawa sagawa.aki at gmail.com
Wed Jul 11 08:33:19 CDT 2018


Andrew, thanks for reviewing.

Since 32-bit variable overflows after approximately 70 minutes,
we use 64-bit variable for this purpose. `remainder' member is removed.

Signed-off-by: Akihiro Sagawa <sagawa.aki at gmail.com>
---
 dlls/winmm/winmm.c | 20 +++++++-------------
 1 file changed, 7 insertions(+), 13 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-winmm-Use-microsecond-unit-in-MIDI-stream-position-v.patch
Type: text/x-patch
Size: 2804 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20180711/c7d55b08/attachment.bin>


More information about the wine-devel mailing list