From c4892593538887d36858cbba609dbe34a4b60792 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 8 Jan 2010 22:10:19 +0000 Subject: Switch SCUMM from AppendableAudioStream to QueuingAudioStream svn-id: r47183 --- engines/scumm/smush/smush_mixer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/scumm/smush/smush_mixer.cpp') diff --git a/engines/scumm/smush/smush_mixer.cpp b/engines/scumm/smush/smush_mixer.cpp index 0a0cda5b76..c069f6fe1b 100644 --- a/engines/scumm/smush/smush_mixer.cpp +++ b/engines/scumm/smush/smush_mixer.cpp @@ -122,12 +122,12 @@ bool SmushMixer::handleFrame() { if (_mixer->isReady()) { // Stream the data if (!_channels[i].stream) { - _channels[i].stream = Audio::makeAppendableAudioStream(_channels[i].chan->getRate(), flags); + _channels[i].stream = Audio::makeQueuingAudioStream(_channels[i].chan->getRate(), stereo); _mixer->playInputStream(Audio::Mixer::kSFXSoundType, &_channels[i].handle, _channels[i].stream); } _mixer->setChannelVolume(_channels[i].handle, vol); _mixer->setChannelBalance(_channels[i].handle, pan); - _channels[i].stream->queueBuffer(data, size); // The stream will free the buffer for us + _channels[i].stream->queueBuffer(data, size, flags); // The stream will free the buffer for us } else delete[] data; } -- cgit v1.2.3