timers: Remove GetRelativeTime()
commiteaf7857b7f7ae6b05ce9d129157e0ff33ed2081b
authorUoti Urpala <uau@symbol.nonexistent.invalid>
Mon, 28 Apr 2008 09:09:31 +0000 (28 12:09 +0300)
committerUoti Urpala <uau@symbol.nonexistent.invalid>
Mon, 28 Apr 2008 09:18:45 +0000 (28 12:18 +0300)
tree17005cd968a137ae8902e408e454cfd32fc033ec
parentc693b77e935e7e34e21bafed2df0ff891d0e25ac
timers: Remove GetRelativeTime()

Move the code calculating time delta since last query out of the
platform-specific drivers and into mplayer.c. The platform-specific
drivers now return absolute values only.

The way the code in timer-darwin.c uses doubles in wrapping arithmetic
looks questionable and this change might make problems in it more
visible.
mp_core.h
mplayer.c
osdep/timer-darwin.c
osdep/timer-linux.c
osdep/timer-win2.c
osdep/timer.h