[Scummvm-cvs-logs] CVS: scummvm/sound/softsynth/mt32 freeverb.cpp,1.5,1.6 freeverb.h,1.3,1.4 part.h,1.3,1.4 synth.cpp,1.4,1.5 tables.cpp,1.5,1.6

Eugene Sandulenko sev at users.sourceforge.net
Sat Jul 30 14:14:44 CEST 2005


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

Modified Files:
	freeverb.cpp freeverb.h part.h synth.cpp tables.cpp 
Log Message:
Remove trailing whitespaces.


Index: freeverb.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sound/softsynth/mt32/freeverb.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- freeverb.cpp	24 Jun 2005 15:23:48 -0000	1.5
+++ freeverb.cpp	30 Jul 2005 21:11:44 -0000	1.6
@@ -26,7 +26,7 @@
 
 // Comb filter implementation
 //
-// Written by 
+// Written by
 // http://www.dreampoint.co.uk
 // This code is public domain
 
@@ -39,7 +39,7 @@
 }
 
 void comb::setbuffer(float *buf, int size) {
-	buffer = buf; 
+	buffer = buf;
 	bufsize = size;
 }
 
@@ -49,7 +49,7 @@
 }
 
 void comb::setdamp(float val) {
-	damp1 = val; 
+	damp1 = val;
 	damp2 = 1 - val;
 }
 
@@ -72,7 +72,7 @@
 }
 
 void allpass::setbuffer(float *buf, int size) {
-	buffer = buf; 
+	buffer = buf;
 	bufsize = size;
 }
 

Index: freeverb.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sound/softsynth/mt32/freeverb.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- freeverb.h	1 Jan 2005 16:20:17 -0000	1.3
+++ freeverb.h	30 Jul 2005 21:11:44 -0000	1.4
@@ -101,10 +101,10 @@
 inline float allpass::process(float input) {
 	float output;
 	float bufout;
-	
+
 	bufout = buffer[bufidx];
 	undenormalise(bufout);
-	
+
 	output = -input + bufout;
 	buffer[bufidx] = input + (bufout * feedback);
 
@@ -196,7 +196,7 @@
 	float width;
 	float mode;
 
-	// The following are all declared inline 
+	// The following are all declared inline
 	// to remove the need for dynamic allocation
 	// with its subsequent error-checking messiness
 

Index: part.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sound/softsynth/mt32/part.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- part.h	11 Jul 2005 00:48:27 -0000	1.3
+++ part.h	30 Jul 2005 21:11:44 -0000	1.4
@@ -42,7 +42,7 @@
 
 	PatchCache patchCache[4];
 
-	float bend; // -1.0 .. +1.0 
+	float bend; // -1.0 .. +1.0
 
 	dpoly polyTable[MT32EMU_MAX_POLY];
 

Index: synth.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sound/softsynth/mt32/synth.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- synth.cpp	16 Apr 2005 17:05:14 -0000	1.4
+++ synth.cpp	30 Jul 2005 21:11:44 -0000	1.5
@@ -824,31 +824,31 @@
 
 	switch(region->type) {
 	case MR_PatchTemp:
-		for (m = 0; m < len; m++) 
+		for (m = 0; m < len; m++)
 			data[m] = ((Bit8u *)&mt32ram.patchSettings[first])[off + m];
 		break;
 	case MR_RhythmTemp:
-		for (m = 0; m < len; m++) 
+		for (m = 0; m < len; m++)
 			data[m] = ((Bit8u *)&mt32ram.rhythmSettings[first])[off + m];
 		break;
 	case MR_TimbreTemp:
-		for (m = 0; m < len; m++) 
+		for (m = 0; m < len; m++)
 			data[m] = ((Bit8u *)&mt32ram.timbreSettings[first])[off + m];
 		break;
 	case MR_Patches:
-		for (m = 0; m < len; m++) 
+		for (m = 0; m < len; m++)
 			data[m] = ((Bit8u *)&mt32ram.patches[first])[off + m];
 		break;
 	case MR_Timbres:
-		for (m = 0; m < len; m++) 
+		for (m = 0; m < len; m++)
 			data[m] = ((Bit8u *)&mt32ram.timbres[first])[off + m];
 		break;
 	case MR_System:
-		for (m = 0; m < len; m++) 
+		for (m = 0; m < len; m++)
 			data[m] = ((Bit8u *)&mt32ram.system)[m + off];
 		break;
 	default:
-		for (m = 0; m < len; m += 2) { 
+		for (m = 0; m < len; m += 2) {
 			data[m] = 0xff;
 			if (m + 1 < len) {
 				data[m+1] = (Bit8u)region->type;

Index: tables.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sound/softsynth/mt32/tables.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- tables.cpp	3 Jul 2005 22:56:51 -0000	1.5
+++ tables.cpp	30 Jul 2005 21:11:44 -0000	1.6
@@ -170,7 +170,7 @@
 			}
 			envDeltaMaxTime[lf] = (int)cap;
 		}
-		
+
 
 		// This (approximately) represents the time durations when the target level is 0.
 		// Not sure why this is a special case, but it's seen to be from the real thing.





More information about the Scummvm-git-logs mailing list