diff options
author | Matthew Hoops | 2010-01-22 04:24:04 +0000 |
---|---|---|
committer | Matthew Hoops | 2010-01-22 04:24:04 +0000 |
commit | 0388e359e0d048327fd028e93c6155907986ae50 (patch) | |
tree | 5829906d197573fa61613be19bd80489c21b6394 /engines/mohawk/sound.h | |
parent | c04f8d00b15d0ebedce6b27e60e64a48f9259e42 (diff) | |
download | scummvm-rg350-0388e359e0d048327fd028e93c6155907986ae50.tar.gz scummvm-rg350-0388e359e0d048327fd028e93c6155907986ae50.tar.bz2 scummvm-rg350-0388e359e0d048327fd028e93c6155907986ae50.zip |
Always loop sounds declared in the VIEW resources of Myst. While Myst specifies in the metadata of its sound resources, Myst ME does not have that feature so we have to specify the looping. Looping now works in Myst ME.
svn-id: r47431
Diffstat (limited to 'engines/mohawk/sound.h')
-rw-r--r-- | engines/mohawk/sound.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/mohawk/sound.h b/engines/mohawk/sound.h index 400eb646a5..e2234e7c30 100644 --- a/engines/mohawk/sound.h +++ b/engines/mohawk/sound.h @@ -121,7 +121,7 @@ public: ~Sound(); void loadRivenSounds(uint16 stack); - Audio::SoundHandle *playSound(uint16 id, bool mainSoundFile = true, byte volume = Audio::Mixer::kMaxChannelVolume); + Audio::SoundHandle *playSound(uint16 id, bool mainSoundFile = true, byte volume = Audio::Mixer::kMaxChannelVolume, bool loop = false); void playMidi(uint16 id); void stopSound(); void pauseSound(); @@ -139,8 +139,8 @@ private: MidiParser *_midiParser; static Audio::AudioStream *getCSAmtrakMusic(uint16 id); - static Audio::AudioStream *makeMohawkWaveStream(Common::SeekableReadStream *stream, bool loop = false); - static Audio::AudioStream *makeOldMohawkWaveStream(Common::SeekableReadStream *stream, bool loop = false); + static Audio::AudioStream *makeMohawkWaveStream(Common::SeekableReadStream *stream); + static Audio::AudioStream *makeOldMohawkWaveStream(Common::SeekableReadStream *stream); void initMidi(); Common::Array<SndHandle> _handles; |