diff options
author | Max Horn | 2010-01-23 23:55:35 +0000 |
---|---|---|
committer | Max Horn | 2010-01-23 23:55:35 +0000 |
commit | 4b996e7de7d25a650f1ae73722af827fcab7b4d6 (patch) | |
tree | ea6e7a352a7adaf3e04fbb64716ed8c04c85ea1b /engines/queen | |
parent | 9369c9f3c518d394b50b04afcf91e7cc5f2f39be (diff) | |
download | scummvm-rg350-4b996e7de7d25a650f1ae73722af827fcab7b4d6.tar.gz scummvm-rg350-4b996e7de7d25a650f1ae73722af827fcab7b4d6.tar.bz2 scummvm-rg350-4b996e7de7d25a650f1ae73722af827fcab7b4d6.zip |
Reorder params to Audio::makeRawMemoryStream
svn-id: r47492
Diffstat (limited to 'engines/queen')
-rw-r--r-- | engines/queen/sound.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/queen/sound.cpp b/engines/queen/sound.cpp index 089a2ac379..619efcf6db 100644 --- a/engines/queen/sound.cpp +++ b/engines/queen/sound.cpp @@ -330,7 +330,7 @@ void SBSound::playSoundData(Common::File *f, uint32 size, Audio::SoundHandle *so f->read(sound, size); Audio::Mixer::SoundType type = (soundHandle == &_speechHandle) ? Audio::Mixer::kSpeechSoundType : Audio::Mixer::kSFXSoundType; - Audio::AudioStream *stream = Audio::makeRawMemoryStream(sound, size, DisposeAfterUse::YES, 11840, Audio::FLAG_UNSIGNED); + Audio::AudioStream *stream = Audio::makeRawMemoryStream(sound, size, 11840, Audio::FLAG_UNSIGNED); _mixer->playInputStream(type, soundHandle, stream); } } @@ -614,7 +614,7 @@ void AmigaSound::playSound(const char *base) { if (soundData) { f->read(soundData, soundSize); - Audio::AudioStream *stream = Audio::makeRawMemoryStream(soundData, soundSize, DisposeAfterUse::YES, 11025, 0); + Audio::AudioStream *stream = Audio::makeRawMemoryStream(soundData, soundSize, 11025, 0); _mixer->playInputStream(Audio::Mixer::kSFXSoundType, &_sfxHandle, stream); } } |