[Scummvm-cvs-logs] CVS: scummvm/graphics animation.cpp,1.16,1.17

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


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

Modified Files:
	animation.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: animation.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/graphics/animation.cpp,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- animation.cpp	20 Dec 2004 23:57:21 -0000	1.16
+++ animation.cpp	27 Dec 2004 00:26:55 -0000	1.17
@@ -133,7 +133,7 @@
 	bgSoundStream = createAudioStream(name, audioArg);
 
 	if (bgSoundStream != NULL) {
-		_snd->playInputStream(&bgSound, bgSoundStream, false, -1, 255, 0, false);
+		_snd->playInputStream(SoundMixer::kSFXAudioDataType, &bgSound, bgSoundStream, -1, 255, 0, false);
 	} else {
 		warning("Cutscene: Could not open Audio Track for %s", name);
 	}





More information about the Scummvm-git-logs mailing list