aboutsummaryrefslogtreecommitdiff
path: root/engines/mortevielle
diff options
context:
space:
mode:
authorStrangerke2013-08-05 00:40:47 +0200
committerStrangerke2013-08-05 00:40:47 +0200
commit71a1d18b0cffccf8f871b0ea77bc8ba239cb10cc (patch)
treeddb979667b0a1c3459bf15f0aee8126b1bbd74fb /engines/mortevielle
parent80cc1700a7a3e151f25a45dcad868b4d5b62d334 (diff)
downloadscummvm-rg350-71a1d18b0cffccf8f871b0ea77bc8ba239cb10cc.tar.gz
scummvm-rg350-71a1d18b0cffccf8f871b0ea77bc8ba239cb10cc.tar.bz2
scummvm-rg350-71a1d18b0cffccf8f871b0ea77bc8ba239cb10cc.zip
MORTEVIELLE: Fix flags in playSong(). Thanks clone2727 for telling about it
Diffstat (limited to 'engines/mortevielle')
-rw-r--r--engines/mortevielle/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mortevielle/sound.cpp b/engines/mortevielle/sound.cpp
index bfdadaa048..24cec8911d 100644
--- a/engines/mortevielle/sound.cpp
+++ b/engines/mortevielle/sound.cpp
@@ -186,7 +186,7 @@ void SoundManager::playNote(int frequency, int32 length) {
void SoundManager::playSong(const byte* buf, uint size, uint loops) {
- Audio::SeekableAudioStream *raw = Audio::makeRawStream(buf, size, 11025 / 2, Audio::FLAG_UNSIGNED | Audio::FLAG_LITTLE_ENDIAN | Audio::FLAG_16BITS, DisposeAfterUse::NO);
+ Audio::SeekableAudioStream *raw = Audio::makeRawStream(buf, size, 11025, Audio::FLAG_UNSIGNED, DisposeAfterUse::NO);
Audio::AudioStream *stream = Audio::makeLoopingAudioStream(raw, loops);
Audio::SoundHandle songHandle;
_mixer->playStream(Audio::Mixer::kSFXSoundType, &songHandle, stream, -1, Audio::Mixer::kMaxChannelVolume, 0, DisposeAfterUse::YES);