diff options
author | Martin Kiewitz | 2010-05-01 14:04:48 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-05-01 14:04:48 +0000 |
commit | e3ac8713e3718bff97858d25b5a98048357867f1 (patch) | |
tree | e556de1e74d54369e1ad975d689d957d2e6cbfaf /engines/sci/sound | |
parent | 45debce66eff7e57e71b83f8d1c4dd2066636355 (diff) | |
download | scummvm-rg350-e3ac8713e3718bff97858d25b5a98048357867f1.tar.gz scummvm-rg350-e3ac8713e3718bff97858d25b5a98048357867f1.tar.bz2 scummvm-rg350-e3ac8713e3718bff97858d25b5a98048357867f1.zip |
SCI: fix bugs in audio decompression (mp3, ogg, flac)
svn-id: r48880
Diffstat (limited to 'engines/sci/sound')
-rw-r--r-- | engines/sci/sound/audio.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/sound/audio.cpp b/engines/sci/sound/audio.cpp index 96a3f1c577..40e6f2e03e 100644 --- a/engines/sci/sound/audio.cpp +++ b/engines/sci/sound/audio.cpp @@ -236,17 +236,17 @@ Audio::RewindableAudioStream *AudioPlayer::getAudioStream(uint32 number, uint32 switch (audioCompressionType) { case MKID_BE('MP3 '): #ifdef USE_MAD - audioStream = Audio::makeMP3Stream(compressedStream, DisposeAfterUse::YES); + audioStream = Audio::makeMP3Stream(compressedStream, DisposeAfterUse::NO); #endif break; case MKID_BE('OGG '): #ifdef USE_VORBIS - audioStream = Audio::makeVorbisStream(compressedStream, DisposeAfterUse::YES); + audioStream = Audio::makeVorbisStream(compressedStream, DisposeAfterUse::NO); #endif break; case MKID_BE('FLAC'): #ifdef USE_FLAC - audioStream = Audio::makeFLACStream(compressedStream, DisposeAfterUse::YES); + audioStream = Audio::makeFLACStream(compressedStream, DisposeAfterUse::NO); #endif break; } |