aboutsummaryrefslogtreecommitdiff
path: root/engines/cine
diff options
context:
space:
mode:
authorMax Horn2010-01-23 23:55:35 +0000
committerMax Horn2010-01-23 23:55:35 +0000
commit4b996e7de7d25a650f1ae73722af827fcab7b4d6 (patch)
treeea6e7a352a7adaf3e04fbb64716ed8c04c85ea1b /engines/cine
parent9369c9f3c518d394b50b04afcf91e7cc5f2f39be (diff)
downloadscummvm-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/cine')
-rw-r--r--engines/cine/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cine/sound.cpp b/engines/cine/sound.cpp
index ba98dd7865..2184e7a961 100644
--- a/engines/cine/sound.cpp
+++ b/engines/cine/sound.cpp
@@ -845,7 +845,7 @@ void PaulaSound::update() {
void PaulaSound::playSoundChannel(int channel, int frequency, uint8 *data, int size, int volume) {
assert(frequency > 0);
frequency = PAULA_FREQ / frequency;
- Audio::AudioStream *stream = Audio::makeRawMemoryStream(data, size, DisposeAfterUse::YES, frequency, 0);
+ Audio::AudioStream *stream = Audio::makeRawMemoryStream(data, size, frequency, 0);
_mixer->playInputStream(Audio::Mixer::kSFXSoundType, &_channelsTable[channel], stream);
_mixer->setChannelVolume(_channelsTable[channel], volume * Audio::Mixer::kMaxChannelVolume / 63);
}