diff options
author | Johannes Schickel | 2009-05-29 17:21:00 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-05-29 17:21:00 +0000 |
commit | 51fc019a9b3a5433076e3882a3842f97b3e74c82 (patch) | |
tree | d4b46dc6f0a299ab94c9d6b67bbc203181701a39 | |
parent | b1997801dad7f5ec30b6cb3c4a2e7574ed0cf590 (diff) | |
download | scummvm-rg350-51fc019a9b3a5433076e3882a3842f97b3e74c82.tar.gz scummvm-rg350-51fc019a9b3a5433076e3882a3842f97b3e74c82.tar.bz2 scummvm-rg350-51fc019a9b3a5433076e3882a3842f97b3e74c82.zip |
Implement "loadSfxFile" and "stopAllSoundEffects" for "MixedSoundDriver".
svn-id: r41011
-rw-r--r-- | engines/kyra/sound.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/kyra/sound.h b/engines/kyra/sound.h index 2c9b0a4076..f393ae15ba 100644 --- a/engines/kyra/sound.h +++ b/engines/kyra/sound.h @@ -284,12 +284,16 @@ public: void loadSoundFile(uint file) { _music->loadSoundFile(file); _sfx->loadSoundFile(file); } void loadSoundFile(Common::String file) { _music->loadSoundFile(file); _sfx->loadSoundFile(file); } + void loadSfxFile(Common::String file) { _sfx->loadSoundFile(file); } + void playTrack(uint8 track) { _music->playTrack(track); } void haltTrack() { _music->haltTrack(); } bool isPlaying() const { return _music->isPlaying() | _sfx->isPlaying(); } void playSoundEffect(uint8 track) { _sfx->playSoundEffect(track); } + void stopAllSoundEffects() { _sfx->stopAllSoundEffects(); } + void beginFadeOut() { _music->beginFadeOut(); } private: Sound *_music, *_sfx; |