[Scummvm-cvs-logs] CVS: scummvm/backends intern.h,1.17,1.18
Chris Apers
chrilith at users.sourceforge.net
Sun Dec 11 11:41:00 CET 2005
Update of /cvsroot/scummvm/scummvm/backends
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29406
Modified Files:
intern.h
Log Message:
PalmOS SAMPLES_PER_SEC
Index: intern.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/intern.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- intern.h 18 Nov 2005 21:23:36 -0000 1.17
+++ intern.h 11 Dec 2005 19:40:23 -0000 1.18
@@ -47,14 +47,28 @@
#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
More information about the Scummvm-git-logs
mailing list