aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Persson2005-11-18 21:23:36 +0000
committerLars Persson2005-11-18 21:23:36 +0000
commit11c52c06db0d368afe060a69db6b64dca44f5974 (patch)
tree94b7940ccd5a215a7fdce70f1a25427cd2a5146e
parent9fbb4d1c7a7d37ea48a582db1d951d5f950793d7 (diff)
downloadscummvm-rg350-11c52c06db0d368afe060a69db6b64dca44f5974.tar.gz
scummvm-rg350-11c52c06db0d368afe060a69db6b64dca44f5974.tar.bz2
scummvm-rg350-11c52c06db0d368afe060a69db6b64dca44f5974.zip
Update Symbian #IFDEFs so it also supports a lower samplerate of 8KHZ if need be.
svn-id: r19645
-rw-r--r--backends/intern.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/backends/intern.h b/backends/intern.h
index 2bb4409235..141066e307 100644
--- a/backends/intern.h
+++ b/backends/intern.h
@@ -48,7 +48,11 @@ extern OSystem *OSystem_PalmZodiac_create();
#define SAMPLES_PER_SEC_OLD 11025
#define SAMPLES_PER_SEC_NEW 22050
#elif defined(__SYMBIAN32__)
-#define SAMPLES_PER_SEC 16000
+ #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
#else