aboutsummaryrefslogtreecommitdiff
path: root/queen/sound.h
diff options
context:
space:
mode:
authorJoost Peters2004-01-10 17:46:26 +0000
committerJoost Peters2004-01-10 17:46:26 +0000
commit3589c2f776a3b4716f6855403ed7ed6b7626ed65 (patch)
treeaa07f52f79bab0e88ac34697706e45c6a9a42804 /queen/sound.h
parent72d54f173ec175a93618a00c4828af3f06fe96ff (diff)
downloadscummvm-rg350-3589c2f776a3b4716f6855403ed7ed6b7626ed65.tar.gz
scummvm-rg350-3589c2f776a3b4716f6855403ed7ed6b7626ed65.tar.bz2
scummvm-rg350-3589c2f776a3b4716f6855403ed7ed6b7626ed65.zip
added stopSfx() method
svn-id: r12305
Diffstat (limited to 'queen/sound.h')
-rw-r--r--queen/sound.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/queen/sound.h b/queen/sound.h
index f17bb2aeea..1c7e80d33d 100644
--- a/queen/sound.h
+++ b/queen/sound.h
@@ -59,7 +59,8 @@ public:
void playSfx(uint16 sfx);
void playSfx(const char *base);
void playSong(int16 songNum);
-
+ void stopSfx() { _mixer->stopHandle(_sfxHandle); }
+
bool sfxOn() { return _sfxToggle; }
void sfxToggle(bool val) { _sfxToggle = val; }
void toggleSfx() { _sfxToggle ^= true; }