[Scummvm-cvs-logs] SF.net SVN: scummvm:[47187] scummvm/trunk/sound/softsynth/fluidsynth.cpp

wjpalenstijn at users.sourceforge.net wjpalenstijn at users.sourceforge.net
Sat Jan 9 00:05:00 CET 2010


Revision: 47187
          http://scummvm.svn.sourceforge.net/scummvm/?rev=47187&view=rev
Author:   wjpalenstijn
Date:     2010-01-08 23:05:00 +0000 (Fri, 08 Jan 2010)

Log Message:
-----------
Use DisposeAfterUse::Flag

Modified Paths:
--------------
    scummvm/trunk/sound/softsynth/fluidsynth.cpp

Modified: scummvm/trunk/sound/softsynth/fluidsynth.cpp
===================================================================
--- scummvm/trunk/sound/softsynth/fluidsynth.cpp	2010-01-08 22:52:50 UTC (rev 47186)
+++ scummvm/trunk/sound/softsynth/fluidsynth.cpp	2010-01-08 23:05:00 UTC (rev 47187)
@@ -144,7 +144,7 @@
 	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;
 }
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list