diff options
Diffstat (limited to 'engines/agos')
-rw-r--r-- | engines/agos/sound.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/agos/sound.cpp b/engines/agos/sound.cpp index b281f4ecc1..82681378eb 100644 --- a/engines/agos/sound.cpp +++ b/engines/agos/sound.cpp @@ -292,7 +292,7 @@ Audio::AudioStream *RawSound::makeAudioStream(uint sound) { assert(buffer); _file->read(buffer, size); - return Audio::makeRawMemoryStream(buffer, size, DisposeAfterUse::YES, 22050, _flags); + return Audio::makeRawMemoryStream(buffer, size, 22050, _flags); } void RawSound::playSound(uint sound, uint loopSound, Audio::Mixer::SoundType type, Audio::SoundHandle *handle, bool loop, int vol) { @@ -737,7 +737,7 @@ void Sound::playRawData(byte *soundData, uint sound, uint size, uint freq) { if (_vm->getPlatform() == Common::kPlatformPC) flags = Audio::FLAG_UNSIGNED; - Audio::AudioStream *stream = Audio::makeRawMemoryStream(buffer, size, DisposeAfterUse::YES, freq, flags); + Audio::AudioStream *stream = Audio::makeRawMemoryStream(buffer, size, freq, flags); _mixer->playInputStream(Audio::Mixer::kSFXSoundType, &_effectsHandle, stream); } |