From ec282d0669316591ecd31a3e62e41bccc7e9900a Mon Sep 17 00:00:00 2001 From: Chris Apers Date: Tue, 25 May 2004 13:06:38 +0000 Subject: [PATCH] Moved here svn-id: r13858 --- backends/PalmOS/Src/cdaudio.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/backends/PalmOS/Src/cdaudio.h b/backends/PalmOS/Src/cdaudio.h index d4ee914f08f..f50e339ac61 100644 --- a/backends/PalmOS/Src/cdaudio.h +++ b/backends/PalmOS/Src/cdaudio.h @@ -25,6 +25,14 @@ #include "common/system.h" +// CD frames are 1/75 sec +#define CD_FPS 75 +#define TO_MSECS(frame) ((UInt32)((frame) * 1000 / CD_FPS)) + +// consider frame at 1/1000 sec +#define FROM_MIN(mins) ((UInt32)((mins) * 60 * 1000)) +#define FROM_SEC(secs) ((UInt32)((secs) * 1000)) + class CDAudio { public: CDAudio() {