aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/sound.cpp
diff options
context:
space:
mode:
authorBastien Bouclet2016-08-08 07:15:04 +0200
committerBastien Bouclet2016-08-11 19:53:20 +0200
commitaeee4888beb8ba15a32a438e4ac82c53d250e039 (patch)
tree590939fe08ff1f9cb3306051d1976fac84dc0465 /engines/mohawk/sound.cpp
parente55758f444dc99e89efdd3effa225d8b54bbd1fb (diff)
downloadscummvm-rg350-aeee4888beb8ba15a32a438e4ac82c53d250e039.tar.gz
scummvm-rg350-aeee4888beb8ba15a32a438e4ac82c53d250e039.tar.bz2
scummvm-rg350-aeee4888beb8ba15a32a438e4ac82c53d250e039.zip
MOHAWK: Allow the games to have a different sound manager
Diffstat (limited to 'engines/mohawk/sound.cpp')
-rw-r--r--engines/mohawk/sound.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/engines/mohawk/sound.cpp b/engines/mohawk/sound.cpp
index e52122dce0..dd9325250d 100644
--- a/engines/mohawk/sound.cpp
+++ b/engines/mohawk/sound.cpp
@@ -518,16 +518,6 @@ void Sound::stopSLSTSound(uint16 index, bool fade) {
_currentSLSTSounds.remove_at(index);
}
-void Sound::pauseSLST() {
- for (uint16 i = 0; i < _currentSLSTSounds.size(); i++)
- _vm->_mixer->pauseHandle(*_currentSLSTSounds[i].handle, true);
-}
-
-void Sound::resumeSLST() {
- for (uint16 i = 0; i < _currentSLSTSounds.size(); i++)
- _vm->_mixer->pauseHandle(*_currentSLSTSounds[i].handle, false);
-}
-
Audio::RewindableAudioStream *Sound::makeLivingBooksWaveStream_v1(Common::SeekableReadStream *stream) {
uint16 header = stream->readUint16BE();
uint16 rate = 0;
@@ -591,18 +581,6 @@ void Sound::stopSound(uint16 id) {
}
}
-void Sound::pauseSound() {
- for (uint32 i = 0; i < _handles.size(); i++)
- if (_handles[i].type == kUsedHandle)
- _vm->_mixer->pauseHandle(_handles[i].handle, true);
-}
-
-void Sound::resumeSound() {
- for (uint32 i = 0; i < _handles.size(); i++)
- if (_handles[i].type == kUsedHandle)
- _vm->_mixer->pauseHandle(_handles[i].handle, false);
-}
-
bool Sound::isPlaying(uint16 id) {
for (uint32 i = 0; i < _handles.size(); i++)
if (_handles[i].type == kUsedHandle && _handles[i].id == id)