ACCESS: Implement freeSounds

This commit is contained in:
Strangerke 2014-11-02 14:42:16 +01:00 committed by Paul Gilbert
parent 335acfac89
commit 2805dcaa7b
2 changed files with 8 additions and 1 deletions

View File

@ -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) {

View File

@ -42,6 +42,8 @@ private:
void clearSounds();
void playSound(Resource *res, int priority);
void stopSound();
public:
Common::Array<Resource *> _soundTable;
Common::Array<int> _soundPriority;