[Scummvm-cvs-logs] CVS: scummvm/sound/softsynth mt32.cpp,1.1,1.2

Max Horn fingolfin at users.sourceforge.net
Sun Dec 26 16:28:01 CET 2004


Update of /cvsroot/scummvm/scummvm/sound/softsynth
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17934/sound/softsynth

Modified Files:
	mt32.cpp 
Log Message:
Added 'sound types' to the mixer - for now, only plain (for the premixer), SFX and music; volume is now controlled based on the sound type

Index: mt32.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sound/softsynth/mt32.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- mt32.cpp	25 Dec 2004 18:34:44 -0000	1.1
+++ mt32.cpp	27 Dec 2004 00:26:59 -0000	1.2
@@ -267,7 +267,7 @@
 	_initialising = false;
 	g_system->clearScreen();
 	g_system->updateScreen();
-	_mixer->playInputStream(&_handle, this, false, -1, 255, 0, false, true);
+	_mixer->playInputStream(SoundMixer::kSFXAudioDataType, &_handle, this, -1, 255, 0, false, true);
 	return 0;
 }
 





More information about the Scummvm-git-logs mailing list