diff options
author | Max Horn | 2006-04-23 23:00:32 +0000 |
---|---|---|
committer | Max Horn | 2006-04-23 23:00:32 +0000 |
commit | e80d24aa22e5e83a86b28454d23241f3574eef1f (patch) | |
tree | 58852fa7ad03cfd0d79f21b3cee69a04a3446c60 /engines/scumm/he/sound_he.cpp | |
parent | 91831974a86e5964f24c745c45ea3ed75589ac2e (diff) | |
download | scummvm-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.cpp | 7 |
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(); |