aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/he/sound_he.cpp
diff options
context:
space:
mode:
authorMax Horn2006-04-23 23:00:32 +0000
committerMax Horn2006-04-23 23:00:32 +0000
commite80d24aa22e5e83a86b28454d23241f3574eef1f (patch)
tree58852fa7ad03cfd0d79f21b3cee69a04a3446c60 /engines/scumm/he/sound_he.cpp
parent91831974a86e5964f24c745c45ea3ed75589ac2e (diff)
downloadscummvm-rg350-e80d24aa22e5e83a86b28454d23241f3574eef1f.tar.gz
scummvm-rg350-e80d24aa22e5e83a86b28454d23241f3574eef1f.tar.bz2
scummvm-rg350-e80d24aa22e5e83a86b28454d23241f3574eef1f.zip
Some more cleanup in class Scumm::Sound
svn-id: r22125
Diffstat (limited to 'engines/scumm/he/sound_he.cpp')
-rw-r--r--engines/scumm/he/sound_he.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/scumm/he/sound_he.cpp b/engines/scumm/he/sound_he.cpp
index e626d78ef9..af17ed6ac0 100644
--- a/engines/scumm/he/sound_he.cpp
+++ b/engines/scumm/he/sound_he.cpp
@@ -157,6 +157,13 @@ void SoundHE::stopSound(int sound) {
}
}
+void SoundHE::stopAllSounds() {
+ // Clear sound channels for HE games
+ memset(_heChannel, 0, sizeof(_heChannel));
+
+ Sound::stopAllSounds();
+}
+
void SoundHE::setupSound() {
Sound::setupSound();