[Scummvm-cvs-logs] CVS: scummvm/backends intern.h,1.16,1.17
Lars Persson
anotherguest at users.sourceforge.net
Fri Nov 18 13:24:02 CET 2005
Update of /cvsroot/scummvm/scummvm/backends
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28374/backends
Modified Files:
intern.h
Log Message:
Update Symbian #IFDEFs so it also supports a lower samplerate of 8KHZ if need be.
Index: intern.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/intern.h,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- intern.h 18 Oct 2005 01:30:00 -0000 1.16
+++ intern.h 18 Nov 2005 21:23:36 -0000 1.17
@@ -48,7 +48,11 @@
#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
More information about the Scummvm-git-logs
mailing list