diff options
author | Chris Apers | 2004-05-25 13:06:38 +0000 |
---|---|---|
committer | Chris Apers | 2004-05-25 13:06:38 +0000 |
commit | ec282d0669316591ecd31a3e62e41bccc7e9900a (patch) | |
tree | 741480020a03af9c62febc1cce3dba03558984b0 /backends/PalmOS/Src/cdaudio.h | |
parent | 290ddb6f78b31291f3c14304b85870c1072c213b (diff) | |
download | scummvm-rg350-ec282d0669316591ecd31a3e62e41bccc7e9900a.tar.gz scummvm-rg350-ec282d0669316591ecd31a3e62e41bccc7e9900a.tar.bz2 scummvm-rg350-ec282d0669316591ecd31a3e62e41bccc7e9900a.zip |
Moved here
svn-id: r13858
Diffstat (limited to 'backends/PalmOS/Src/cdaudio.h')
-rw-r--r-- | backends/PalmOS/Src/cdaudio.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/backends/PalmOS/Src/cdaudio.h b/backends/PalmOS/Src/cdaudio.h index d4ee914f08..f50e339ac6 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() { |