aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb
diff options
context:
space:
mode:
authorNipun Garg2019-07-26 10:49:21 +0530
committerEugene Sandulenko2019-09-03 17:17:29 +0200
commit588d0235ae954120bdad38415a648f59a3b0b35f (patch)
treee8fdcc37bdb1877a3b9a7fa89521167715b3e730 /engines/hdb
parent12f46b3f9d246e4610ed309254f6850f31d478d5 (diff)
downloadscummvm-rg350-588d0235ae954120bdad38415a648f59a3b0b35f.tar.gz
scummvm-rg350-588d0235ae954120bdad38415a648f59a3b0b35f.tar.bz2
scummvm-rg350-588d0235ae954120bdad38415a648f59a3b0b35f.zip
HDB: Comment out SND code until data is found
Diffstat (limited to 'engines/hdb')
-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;
}