aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/hdb/sound.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/hdb/sound.cpp b/engines/hdb/sound.cpp
index 4fa5e2b117..a1c220c597 100644
--- a/engines/hdb/sound.cpp
+++ b/engines/hdb/sound.cpp
@@ -1464,7 +1464,7 @@ void Sound::setMusicVolume(int volume) {
}
bool Sound::playSound(int index) {
-
+#if 0
if (index > _numSounds || !_sfxVolume)
return false;
@@ -1507,11 +1507,12 @@ bool Sound::playSound(int index) {
g_hdb->_mixer->setChannelVolume(_handles[soundChannel], _sfxVolume);
g_hdb->_mixer->playStream(Audio::Mixer::kSFXSoundType, &_handles[soundChannel], _soundCache[index].audioStream);
-
+#endif
return true;
}
bool Sound::playSoundEx(int index, int channel, bool loop) {
+#if 0
if (g_hdb->_mixer->isSoundHandleActive(_handles[channel]))
return false;
@@ -1548,7 +1549,7 @@ bool Sound::playSoundEx(int index, int channel, bool loop) {
} else {
g_hdb->_mixer->playStream(Audio::Mixer::kSFXSoundType, &_handles[channel], _soundCache[index].audioStream);
}
-
+#endif
return true;
}