aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/he/sound_he.h
diff options
context:
space:
mode:
authorKirben2016-06-22 11:45:44 +1000
committerKirben2016-06-22 11:45:44 +1000
commit87c5540c2a5b06569545dbc06f81f58e3daafbc6 (patch)
treeb046e651d7275327ba15279ccc1f83477c6c88c9 /engines/scumm/he/sound_he.h
parent6b07163600d6c63acb2c291ee42eaef72dc75cb9 (diff)
downloadscummvm-rg350-87c5540c2a5b06569545dbc06f81f58e3daafbc6.tar.gz
scummvm-rg350-87c5540c2a5b06569545dbc06f81f58e3daafbc6.tar.bz2
scummvm-rg350-87c5540c2a5b06569545dbc06f81f58e3daafbc6.zip
SCUMM HE: Update sound flags and queue, for new settings.
Diffstat (limited to 'engines/scumm/he/sound_he.h')
-rw-r--r--engines/scumm/he/sound_he.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/scumm/he/sound_he.h b/engines/scumm/he/sound_he.h
index e0324d0753..d5a2817a0f 100644
--- a/engines/scumm/he/sound_he.h
+++ b/engines/scumm/he/sound_he.h
@@ -61,8 +61,8 @@ public:
SoundHE(ScummEngine *parent, Audio::Mixer *mixer);
~SoundHE();
- virtual void addSoundToQueue(int sound, int heOffset = 0, int heChannel = 0, int heFlags = 0);
- virtual void addSoundToQueue2(int sound, int heOffset = 0, int heChannel = 0, int heFlags = 0);
+ virtual void addSoundToQueue(int sound, int heOffset = 0, int heChannel = 0, int heFlags = 0, int heFreq = 0, int hePan = 0, int heVol = 0);
+ virtual void addSoundToQueue2(int sound, int heOffset = 0, int heChannel = 0, int heFlags = 0, int heFreq = 0, int hePan = 0, int heVol = 0);
virtual int isSoundRunning(int sound) const;
virtual void stopSound(int sound);
@@ -75,7 +75,7 @@ public:
int getSoundPos(int sound);
int getSoundVar(int sound, int var);
void setSoundVar(int sound, int var, int val);
- void playHESound(int soundID, int heOffset, int heChannel, int heFlags);
+ void playHESound(int soundID, int heOffset, int heChannel, int heFlags, int heFreq, int hePan, int heVol);
void processSoundCode();
void processSoundOpcodes(int sound, byte *codePtr, int *soundVars);
void setOverrideFreq(int freq);