aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2006-01-07 23:53:38 +0000
committerTravis Howell2006-01-07 23:53:38 +0000
commit202b739c36ca3854dd522e90a67a120d13445ffb (patch)
treed1f5490812607d591622ef57344ab92234c12d44 /scumm
parent05a469074c34825b387e396f93f6dd2acc59e4a5 (diff)
downloadscummvm-rg350-202b739c36ca3854dd522e90a67a120d13445ffb.tar.gz
scummvm-rg350-202b739c36ca3854dd522e90a67a120d13445ffb.tar.bz2
scummvm-rg350-202b739c36ca3854dd522e90a67a120d13445ffb.zip
No longer used by HE games.
svn-id: r19940
Diffstat (limited to 'scumm')
-rw-r--r--scumm/sound.cpp10
-rw-r--r--scumm/sound.h1
2 files changed, 0 insertions, 11 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index 158beaafe5..1757f24f02 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -696,16 +696,6 @@ bool Sound::isMouthSyncOff(uint pos) {
return val;
}
-
-int Sound::getSoundElapsedTime(int sound) const {
- if (sound >= 10000) {
- int channel = sound - 10000;
- return _vm->_mixer->getSoundElapsedTime(_heSoundChannels[channel]);
- } else {
- return _vm->_mixer->getSoundElapsedTimeOfSoundID(sound);
- }
-}
-
int Sound::isSoundRunning(int sound) const {
#ifndef DISABLE_SCUMM_7_8
if (_vm->_imuseDigital)
diff --git a/scumm/sound.h b/scumm/sound.h
index a8e3cd9715..5fe0c546a1 100644
--- a/scumm/sound.h
+++ b/scumm/sound.h
@@ -124,7 +124,6 @@ public:
void startTalkSound(uint32 offset, uint32 b, int mode, Audio::SoundHandle *handle = NULL);
void stopTalkSound();
bool isMouthSyncOff(uint pos);
- int getSoundElapsedTime(int sound) const;
int isSoundRunning(int sound) const;
bool isSoundInUse(int sound) const;
void stopSound(int sound);