aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/intern.h14
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