diff options
Diffstat (limited to 'engines/agos')
-rw-r--r-- | engines/agos/sound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agos/sound.cpp b/engines/agos/sound.cpp index e198fe8d66..2da81d2d28 100644 --- a/engines/agos/sound.cpp +++ b/engines/agos/sound.cpp @@ -741,7 +741,7 @@ void Sound::playSoundData(Audio::SoundHandle *handle, byte *soundData, uint soun flags |= Audio::Mixer::FLAG_LOOP; if (compType == 2) { - Audio::AudioStream *sndStream = Audio::makeADPCMStream(&stream, size, Audio::kADPCMMS, rate, (flags & Audio::Mixer::FLAG_STEREO) ? 2 : 1, blockAlign); + Audio::AudioStream *sndStream = Audio::makeADPCMStream(&stream, false, size, Audio::kADPCMMS, rate, (flags & Audio::Mixer::FLAG_STEREO) ? 2 : 1, blockAlign); buffer = (byte *)malloc(size * 4); size = sndStream->readBuffer((int16*)buffer, size * 2); size *= 2; // 16bits. |