aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/sound_adlib.cpp
diff options
context:
space:
mode:
authorMax Horn2010-01-08 22:09:43 +0000
committerMax Horn2010-01-08 22:09:43 +0000
commitf720d99b0a4fdc97d4d5c01b8c4db43c318c62b1 (patch)
treeb628cb494432e593a24a19134817798d14672048 /engines/kyra/sound_adlib.cpp
parent490153232a89bc64deb8a2ea72443af986940e63 (diff)
downloadscummvm-rg350-f720d99b0a4fdc97d4d5c01b8c4db43c318c62b1.tar.gz
scummvm-rg350-f720d99b0a4fdc97d4d5c01b8c4db43c318c62b1.tar.bz2
scummvm-rg350-f720d99b0a4fdc97d4d5c01b8c4db43c318c62b1.zip
Switch Mixer::playInputStream to use DisposeAfterUse::Flag
svn-id: r47182
Diffstat (limited to 'engines/kyra/sound_adlib.cpp')
-rw-r--r--engines/kyra/sound_adlib.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/sound_adlib.cpp b/engines/kyra/sound_adlib.cpp
index 3da1204a5d..51f5ba9392 100644
--- a/engines/kyra/sound_adlib.cpp
+++ b/engines/kyra/sound_adlib.cpp
@@ -451,7 +451,7 @@ AdlibDriver::AdlibDriver(Audio::Mixer *mixer, bool v2) {
// is used by SFX or music, and then adjust the volume accordingly. Since Kyrandia 2 supports
// different volumes for SFX and music, looking at the disasm and checking how the original does it
// would be a good idea.
- _mixer->playInputStream(Audio::Mixer::kMusicSoundType, &_soundHandle, this, -1, Audio::Mixer::kMaxChannelVolume, 0, false, true);
+ _mixer->playInputStream(Audio::Mixer::kMusicSoundType, &_soundHandle, this, -1, Audio::Mixer::kMaxChannelVolume, 0, DisposeAfterUse::NO, true);
_samplesPerCallback = getRate() / CALLBACKS_PER_SECOND;
_samplesPerCallbackRemainder = getRate() % CALLBACKS_PER_SECOND;