[Scummvm-cvs-logs] CVS: scummvm/kyra kyra.cpp,1.21,1.22
Max Horn
fingolfin at users.sourceforge.net
Sun Dec 26 16:29:04 CET 2004
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/queen queen.cpp,1.113,1.114 sound.cpp,1.48,1.49
- Next message: [Scummvm-cvs-logs] CVS: scummvm/saga music.cpp,1.42,1.43 saga.cpp,1.74,1.75 sound.cpp,1.18,1.19
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/kyra
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17934/kyra
Modified Files:
kyra.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: kyra.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/kyra/kyra.cpp,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- kyra.cpp 9 Dec 2004 15:06:43 -0000 1.21
+++ kyra.cpp 27 Dec 2004 00:26:55 -0000 1.22
@@ -105,8 +105,8 @@
warning("Sound initialization failed.");
}
- _mixer->setVolume(ConfMan.getInt("sfx_volume"));
- _mixer->setMusicVolume(ConfMan.getInt("music_volume"));
+ _mixer->setVolumeForSoundType(SoundMixer::kSFXAudioDataType, ConfMan.getInt("sfx_volume"));
+ _mixer->setVolumeForSoundType(SoundMixer::kMusicAudioDataType, ConfMan.getInt("music_volume"));
// gets the game
if (detector->_game.features & GF_KYRA1) {
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/queen queen.cpp,1.113,1.114 sound.cpp,1.48,1.49
- Next message: [Scummvm-cvs-logs] CVS: scummvm/saga music.cpp,1.42,1.43 saga.cpp,1.74,1.75 sound.cpp,1.18,1.19
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list