diff options
author | Max Horn | 2010-01-31 02:11:41 +0000 |
---|---|---|
committer | Max Horn | 2010-01-31 02:11:41 +0000 |
commit | 21e1cc4cf8b79a9f59e911514c52831113356f7c (patch) | |
tree | 492c457f3469acd863e7623bc2fa4a410458f706 /engines/scumm | |
parent | 7f4aa161bcb0f989fe2b343909fd855679901d3e (diff) | |
download | scummvm-rg350-21e1cc4cf8b79a9f59e911514c52831113356f7c.tar.gz scummvm-rg350-21e1cc4cf8b79a9f59e911514c52831113356f7c.tar.bz2 scummvm-rg350-21e1cc4cf8b79a9f59e911514c52831113356f7c.zip |
Switch makeADPCMStream to DisposeAfterUse::Flag
svn-id: r47736
Diffstat (limited to 'engines/scumm')
-rw-r--r-- | engines/scumm/he/sound_he.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/he/sound_he.cpp b/engines/scumm/he/sound_he.cpp index d8924999a1..97c192cec5 100644 --- a/engines/scumm/he/sound_he.cpp +++ b/engines/scumm/he/sound_he.cpp @@ -643,7 +643,7 @@ void SoundHE::playHESound(int soundID, int heOffset, int heChannel, int heFlags) _mixer->stopHandle(_heSoundChannels[heChannel]); if (compType == 17) { - Audio::AudioStream *voxStream = Audio::makeADPCMStream(&memStream, false, size, Audio::kADPCMMSIma, rate, (flags & Audio::FLAG_STEREO) ? 2 : 1, blockAlign); + Audio::AudioStream *voxStream = Audio::makeADPCMStream(&memStream, DisposeAfterUse::NO, size, Audio::kADPCMMSIma, rate, (flags & Audio::FLAG_STEREO) ? 2 : 1, blockAlign); // FIXME: Get rid of this crude hack to turn a ADPCM stream into a raw stream. // It seems it is only there to allow looping -- if that is true, we certainly |