diff options
author | Strangerke | 2014-11-02 14:42:16 +0100 |
---|---|---|
committer | Paul Gilbert | 2014-12-12 22:20:32 -0500 |
commit | 2805dcaa7bcb315e124e0f2bab7218d834a05d99 (patch) | |
tree | cc7065b717804b5b9219901e8eddb48bf46749a7 /engines/access | |
parent | 335acfac892ab071d791db46161d5ca4c8868109 (diff) | |
download | scummvm-rg350-2805dcaa7bcb315e124e0f2bab7218d834a05d99.tar.gz scummvm-rg350-2805dcaa7bcb315e124e0f2bab7218d834a05d99.tar.bz2 scummvm-rg350-2805dcaa7bcb315e124e0f2bab7218d834a05d99.zip |
ACCESS: Implement freeSounds
Diffstat (limited to 'engines/access')
-rw-r--r-- | engines/access/sound.cpp | 7 | ||||
-rw-r--r-- | engines/access/sound.h | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/engines/access/sound.cpp b/engines/access/sound.cpp index 072261dbf2..dd8cf16189 100644 --- a/engines/access/sound.cpp +++ b/engines/access/sound.cpp @@ -93,8 +93,13 @@ void SoundManager::stopSong() { // TODO } +void SoundManager::stopSound() { + // TODO: REALSTOPSND or BLASTSTOPSND or STOP_SOUNDG +} + void SoundManager::freeSounds() { - // TODO + stopSound(); + clearSounds(); } void SoundManager::newMusic(int musicId, int mode) { diff --git a/engines/access/sound.h b/engines/access/sound.h index 5c130661a7..c1b3981997 100644 --- a/engines/access/sound.h +++ b/engines/access/sound.h @@ -42,6 +42,8 @@ private: void clearSounds(); void playSound(Resource *res, int priority); + void stopSound(); + public: Common::Array<Resource *> _soundTable; Common::Array<int> _soundPriority; |