ChangeSet ID: 13062
CVSROOT: /opt/cvs-commit
Module name: wine
Changes by: julliard(a)wine.codeweavers.com 2004/07/23 18:01:21
Modified files:
dlls/winmm/wineoss: audio.c
dlls/winmm/winenas: audio.c
dlls/winmm/winejack: audio.c
dlls/winmm/wineaudioio: audio.c
dlls/winmm/winearts: audio.c
dlls/winmm/winealsa: audio.c
Log message:
Francois Gouget <fgouget(a)codeweavers.com>
Added bytes_to_mmtime() to convert the stream position from bytes to
the requested MMTIME format. This function should be identical in all
drivers.
Remove the corresponding code from wodGetPosition() and
widGetPosition() and use bytes_to_mmtime() instead.
bytes_to_mmtime() uses no floating-point arithmetic to compute
TIME_SMPTE and no longer uses round(). It should have no integer
overflows either.
Patch: http://cvs.winehq.org/patch.py?id=13062
Old revision New revision Changes Path
1.135 1.136 +52 -84 wine/dlls/winmm/wineoss/audio.c
1.15 1.16 +50 -41 wine/dlls/winmm/winenas/audio.c
1.13 1.14 +52 -41 wine/dlls/winmm/winejack/audio.c
1.13 1.14 +51 -82 wine/dlls/winmm/wineaudioio/audio.c
1.21 1.22 +50 -41 wine/dlls/winmm/winearts/audio.c
1.47 1.48 +51 -83 wine/dlls/winmm/winealsa/audio.c