aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound
diff options
context:
space:
mode:
authorJohannes Schickel2010-01-07 16:34:56 +0000
committerJohannes Schickel2010-01-07 16:34:56 +0000
commitd5fe29c3c949fda84a5a7a276160d57e646fc952 (patch)
treeba643bf1510a6fd061500abef7f08d432bbc7693 /engines/sci/sound
parentca5e1379452f7777fd032baeb342ce88634d1836 (diff)
downloadscummvm-rg350-d5fe29c3c949fda84a5a7a276160d57e646fc952.tar.gz
scummvm-rg350-d5fe29c3c949fda84a5a7a276160d57e646fc952.tar.bz2
scummvm-rg350-d5fe29c3c949fda84a5a7a276160d57e646fc952.zip
Make makeWAVStream return a RewindableAudioStream.
svn-id: r47129
Diffstat (limited to 'engines/sci/sound')
-rw-r--r--engines/sci/sound/audio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/sound/audio.cpp b/engines/sci/sound/audio.cpp
index 801864265f..bfc1fed330 100644
--- a/engines/sci/sound/audio.cpp
+++ b/engines/sci/sound/audio.cpp
@@ -230,7 +230,7 @@ Audio::AudioStream* AudioPlayer::getAudioStream(uint32 number, uint32 volume, in
if (memcmp(audioRes->data, "RIFF", 4) == 0) {
// WAVE detected
Common::MemoryReadStream *waveStream = new Common::MemoryReadStream(audioRes->data, audioRes->size, Common::DisposeAfterUse::NO);
- audioStream = Audio::makeWAVStream(waveStream, true, false);
+ audioStream = Audio::makeWAVStream(waveStream, true);
}
}
if (!audioStream) {