aboutsummaryrefslogtreecommitdiff
path: root/engines/toon/audio.h
diff options
context:
space:
mode:
authorSylvain Dupont2010-10-29 22:00:31 +0000
committerSylvain Dupont2010-10-29 22:00:31 +0000
commitecd3e29fe0854c632e5a7688b171e24561c70fc2 (patch)
tree6599b8cf395eae74566213c90e658f7f989ed802 /engines/toon/audio.h
parentc9442e26ad70fa18dbcee3814ca586e2bc45bdf8 (diff)
downloadscummvm-rg350-ecd3e29fe0854c632e5a7688b171e24561c70fc2.tar.gz
scummvm-rg350-ecd3e29fe0854c632e5a7688b171e24561c70fc2.tar.bz2
scummvm-rg350-ecd3e29fe0854c632e5a7688b171e24561c70fc2.zip
TOON: Stops all Sfx/voice when exiting a room
Caused crashs when exiting when a sfx or voice was still playing Bug found by Thomas svn-id: r53928
Diffstat (limited to 'engines/toon/audio.h')
-rw-r--r--engines/toon/audio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/toon/audio.h b/engines/toon/audio.h
index 32295fdadd..e0676c2992 100644
--- a/engines/toon/audio.h
+++ b/engines/toon/audio.h
@@ -132,6 +132,7 @@ public:
void playVoice(int32 id, bool genericVoice);
int32 playSFX(int32 id, int volume, bool genericSFX);
void stopCurrentVoice();
+ void stopAllSfxs();
void setMusicVolume(int32 volume);
void stopMusic();
void muteVoice(bool mute);