diff options
Diffstat (limited to 'engines/toon/audio.h')
-rw-r--r-- | engines/toon/audio.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/toon/audio.h b/engines/toon/audio.h index dec731e78d..e8c6c44e03 100644 --- a/engines/toon/audio.h +++ b/engines/toon/audio.h @@ -37,7 +37,7 @@ class AudioManager; class AudioStreamInstance : public Audio::AudioStream { public: - AudioStreamInstance(AudioManager *man, Audio::Mixer *mixer, Common::SeekableReadStream *stream, bool looping = false); + AudioStreamInstance(AudioManager *man, Audio::Mixer *mixer, Common::SeekableReadStream *stream, bool looping = false, bool deleteFileStreamAtEnd = false); ~AudioStreamInstance(); void play(bool fade = false, Audio::Mixer::SoundType soundType = Audio::Mixer::kMusicSoundType); void stop(bool fade = false); @@ -92,6 +92,7 @@ protected: bool _looping; int32 _volume; int32 _musicAttenuation; + bool _deleteFileStream; }; class AudioStreamPackage { |