aboutsummaryrefslogtreecommitdiff
path: root/sound/softsynth/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 /sound/softsynth/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 'sound/softsynth/adlib.cpp')
-rw-r--r--sound/softsynth/adlib.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/softsynth/adlib.cpp b/sound/softsynth/adlib.cpp
index 3f887f1f5b..dd01ea9f64 100644
--- a/sound/softsynth/adlib.cpp
+++ b/sound/softsynth/adlib.cpp
@@ -918,7 +918,7 @@ int MidiDriver_ADLIB::open() {
adlib_write(0xBD, 0x00);
create_lookup_table();
- _mixer->playInputStream(Audio::Mixer::kPlainSoundType, &_mixerSoundHandle, this, -1, Audio::Mixer::kMaxChannelVolume, 0, false, true);
+ _mixer->playInputStream(Audio::Mixer::kPlainSoundType, &_mixerSoundHandle, this, -1, Audio::Mixer::kMaxChannelVolume, 0, DisposeAfterUse::NO, true);
return 0;
}