[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [11095] branches/soc-2007-hcube/intern/ tinySND/intern/SND_FXMixer.cpp: Now the mixer funct is more correct, but still has no comressor feature.

Csaba Hruska csaba.hruska at gmail.com
Thu Jun 28 11:10:06 CEST 2007


Revision: 11095
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=11095
Author:   hcube
Date:     2007-06-28 11:10:06 +0200 (Thu, 28 Jun 2007)

Log Message:
-----------
Now the mixer funct is more correct, but still has no comressor feature.

Modified Paths:
--------------
    branches/soc-2007-hcube/intern/tinySND/intern/SND_FXMixer.cpp

Modified: branches/soc-2007-hcube/intern/tinySND/intern/SND_FXMixer.cpp
===================================================================
--- branches/soc-2007-hcube/intern/tinySND/intern/SND_FXMixer.cpp	2007-06-28 08:33:04 UTC (rev 11094)
+++ branches/soc-2007-hcube/intern/tinySND/intern/SND_FXMixer.cpp	2007-06-28 09:10:06 UTC (rev 11095)
@@ -143,7 +143,7 @@
 		return mSoundBuffers[ 0 ];
 	}
 	// mix collected sounds
-	mixFactor = mGain / ((float)sndNum);
+	mixFactor = mGain;// / ((float)sndNum);
 	for( j = 0 ; j < sndNum ; ++j )
 	{
 		buffer = mSoundBuffers[ j ];





More information about the Bf-blender-cvs mailing list