aboutsummaryrefslogtreecommitdiff
path: root/common/system.h
diff options
context:
space:
mode:
authorMax Horn2003-07-31 12:10:13 +0000
committerMax Horn2003-07-31 12:10:13 +0000
commitf7ee6d2ce10fb215067ee1a32d4cb124aaa881af (patch)
tree9ffd2b6240278808cf8da91a0eb23796d534cb14 /common/system.h
parent50c3369dddb647fdc1397d9be540bcde28002aaa (diff)
downloadscummvm-rg350-f7ee6d2ce10fb215067ee1a32d4cb124aaa881af.tar.gz
scummvm-rg350-f7ee6d2ce10fb215067ee1a32d4cb124aaa881af.tar.bz2
scummvm-rg350-f7ee6d2ce10fb215067ee1a32d4cb124aaa881af.zip
use #define instead of enum here because that makes ccache more effective when changing sample rates
svn-id: r9326
Diffstat (limited to 'common/system.h')
-rw-r--r--common/system.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/common/system.h b/common/system.h
index 96f4378490..aaf2df4cda 100644
--- a/common/system.h
+++ b/common/system.h
@@ -375,14 +375,14 @@ extern OSystem *OSystem_MAC_create(int gfx_mode, bool full_screen);
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,