diff options
author | Chris Apers | 2005-12-11 19:40:23 +0000 |
---|---|---|
committer | Chris Apers | 2005-12-11 19:40:23 +0000 |
commit | bf1fdc0db43491cd2542944ed5c436b2f740f7fd (patch) | |
tree | a72a83a9379c0345ec56f592afa448b7e31e5cca /backends | |
parent | 2c12614ae138642e0e128815346c670c0955c760 (diff) | |
download | scummvm-rg350-bf1fdc0db43491cd2542944ed5c436b2f740f7fd.tar.gz scummvm-rg350-bf1fdc0db43491cd2542944ed5c436b2f740f7fd.tar.bz2 scummvm-rg350-bf1fdc0db43491cd2542944ed5c436b2f740f7fd.zip |
PalmOS SAMPLES_PER_SEC
svn-id: r19778
Diffstat (limited to 'backends')
-rw-r--r-- | backends/intern.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/backends/intern.h b/backends/intern.h index 141066e307..2340571835 100644 --- a/backends/intern.h +++ b/backends/intern.h @@ -47,14 +47,28 @@ extern OSystem *OSystem_PalmZodiac_create(); #define SAMPLES_PER_SEC 22050 #define SAMPLES_PER_SEC_OLD 11025 #define SAMPLES_PER_SEC_NEW 22050 + #elif defined(__SYMBIAN32__) #ifdef SAMPLES_PER_SEC_8000 // the GreanSymbianMMP format cannot handle values for defines :( #define SAMPLES_PER_SEC 8000 #else #define SAMPLES_PER_SEC 16000 #endif + #elif defined(__PLAYSTATION2__) #define SAMPLES_PER_SEC 48000 // the SPU can't handle anything else + +#elif defined(PALMOS_MODE) +# ifdef PALMOS_ARM +# ifdef COMPILE_ZODIAC +# define SAMPLES_PER_SEC 44100 +# else +# define SAMPLES_PER_SEC 22050 +# endif +# else +# define SAMPLES_PER_SEC 8000 +# endif + #else //#define SAMPLES_PER_SEC 11025 #define SAMPLES_PER_SEC 22050 |