diff options
author | Johannes Schickel | 2010-01-07 16:34:56 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-01-07 16:34:56 +0000 |
commit | d5fe29c3c949fda84a5a7a276160d57e646fc952 (patch) | |
tree | ba643bf1510a6fd061500abef7f08d432bbc7693 /engines/sci/sound | |
parent | ca5e1379452f7777fd032baeb342ce88634d1836 (diff) | |
download | scummvm-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.cpp | 2 |
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) { |