[Scummvm-cvs-logs] CVS: scummvm/common system.h,1.37,1.38

Max Horn fingolfin at users.sourceforge.net
Thu Jul 31 05:11:06 CEST 2003


Update of /cvsroot/scummvm/scummvm/common
In directory sc8-pr-cvs1:/tmp/cvs-serv741

Modified Files:
	system.h 
Log Message:
use #define instead of enum here because that makes ccache more effective when changing sample rates

Index: system.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/system.h,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- system.h	22 Jul 2003 23:27:41 -0000	1.37
+++ system.h	31 Jul 2003 12:10:13 -0000	1.38
@@ -375,14 +375,14 @@
 extern OSystem *OSystem_GP32_create(int gfx_mode, bool full_screen); //ph0x 
 extern OSystem *OSystem_PALMOS_create(int gfx_mode);
 
-enum {
 #ifdef _WIN32_WCE
-	SAMPLES_PER_SEC_OLD =  11025,
-	SAMPLES_PER_SEC_NEW =  22050
+#define SAMPLES_PER_SEC_OLD 11025
+#define SAMPLES_PER_SEC_NEW 22050
 #else
-	SAMPLES_PER_SEC =  22050
+//#define SAMPLES_PER_SEC 11025
+#define SAMPLES_PER_SEC 22050
+//#define SAMPLES_PER_SEC 44100
 #endif
-};
 
 enum {
 	FMOPL_ENV_BITS_HQ = 16,





More information about the Scummvm-git-logs mailing list