mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 06:39:17 +00:00
added stopSfx() method
svn-id: r12305
This commit is contained in:
parent
72d54f173e
commit
3589c2f776
@ -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; }
|
||||
|
Loading…
Reference in New Issue
Block a user