[Scummvm-cvs-logs] CVS: scummvm/sword2/driver d_sound.cpp,1.104,1.105

Max Horn fingolfin at users.sourceforge.net
Thu Jan 29 17:03:01 CET 2004


Update of /cvsroot/scummvm/scummvm/sword2/driver
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18518/sword2/driver

Modified Files:
	d_sound.cpp 
Log Message:
Renamed the 'pan' effect of the mixer to 'balance', since that is what we actually do; applied patch #886786 which corrects a bug in the balance code

Index: d_sound.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword2/driver/d_sound.cpp,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -d -r1.104 -r1.105
--- d_sound.cpp	16 Jan 2004 08:16:23 -0000	1.104
+++ d_sound.cpp	29 Jan 2004 18:15:26 -0000	1.105
@@ -952,7 +952,7 @@
 
 	if (!_fxMuted) {
 		_vm->_mixer->setChannelVolume(_fx[i]._handle, _fx[i]._volume * _fxVol);
-		_vm->_mixer->setChannelPan(_fx[i]._handle, _panTable[pan + 16]);
+		_vm->_mixer->setChannelBalance(_fx[i]._handle, _panTable[pan + 16]);
 	}
 
 	return RD_OK;





More information about the Scummvm-git-logs mailing list