aboutsummaryrefslogtreecommitdiff
path: root/scumm.h
diff options
context:
space:
mode:
authorNicolas Bacca2002-04-21 21:58:21 +0000
committerNicolas Bacca2002-04-21 21:58:21 +0000
commitd9ce5c659cf9cb30b5fe0d1e65219d0b0d763080 (patch)
treec1e46db51a4aa680b4f5ff9e0b77863aa244a998 /scumm.h
parent635cb77d5acf8cc3a519ad07c5c02c57b804299e (diff)
downloadscummvm-rg350-d9ce5c659cf9cb30b5fe0d1e65219d0b0d763080.tar.gz
scummvm-rg350-d9ce5c659cf9cb30b5fe0d1e65219d0b0d763080.tar.bz2
scummvm-rg350-d9ce5c659cf9cb30b5fe0d1e65219d0b0d763080.zip
Pause SFX, pre-initialized volume
svn-id: r4045
Diffstat (limited to 'scumm.h')
-rw-r--r--scumm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/scumm.h b/scumm.h
index 50435d194d..8c522c8708 100644
--- a/scumm.h
+++ b/scumm.h
@@ -44,7 +44,11 @@ extern Scumm *g_scumm;
/* System Wide Constants */
enum {
+#ifdef _WIN32_WCE
+ SAMPLES_PER_SEC = 11025,
+#else
SAMPLES_PER_SEC = 22050,
+#endif
BITS_PER_SAMPLE = 16,
NUM_MIXER = 4,
NUM_SCRIPT_SLOT = 25,
@@ -987,6 +991,7 @@ public:
int16 _soundQuePos, _soundQue[0x100];
byte _soundQue2Pos, _soundQue2[10];
bool _soundsPaused, _soundsPaused2;
+ bool _soundVolumePreset;
void setupSound();
void processSoundQues();