aboutsummaryrefslogtreecommitdiff
path: root/sound/softsynth/fluidsynth.cpp
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2010-01-08 23:05:00 +0000
committerWillem Jan Palenstijn2010-01-08 23:05:00 +0000
commit229c53d4851dd9acb784c62ef01bf9fef8d98776 (patch)
treed344c55872f61e84712bf5020f3cf2ca6b300ac6 /sound/softsynth/fluidsynth.cpp
parentaf8298d4f8f75b6fdc14ae6d21120bc82a1df560 (diff)
downloadscummvm-rg350-229c53d4851dd9acb784c62ef01bf9fef8d98776.tar.gz
scummvm-rg350-229c53d4851dd9acb784c62ef01bf9fef8d98776.tar.bz2
scummvm-rg350-229c53d4851dd9acb784c62ef01bf9fef8d98776.zip
Use DisposeAfterUse::Flag
svn-id: r47187
Diffstat (limited to 'sound/softsynth/fluidsynth.cpp')
-rw-r--r--sound/softsynth/fluidsynth.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/softsynth/fluidsynth.cpp b/sound/softsynth/fluidsynth.cpp
index 3b008672bf..57294488a6 100644
--- a/sound/softsynth/fluidsynth.cpp
+++ b/sound/softsynth/fluidsynth.cpp
@@ -144,7 +144,7 @@ int MidiDriver_FluidSynth::open() {
MidiDriver_Emulated::open();
// The MT-32 emulator uses kSFXSoundType here. I don't know why.
- _mixer->playInputStream(Audio::Mixer::kMusicSoundType, &_handle, this, -1, 255, 0, false, true);
+ _mixer->playInputStream(Audio::Mixer::kMusicSoundType, &_handle, this, -1, Audio::Mixer::kMaxChannelVolume, 0, DisposeAfterUse::NO, true);
return 0;
}