mirror of
				https://github.com/cookiengineer/audacity
				synced 2025-11-04 08:04:06 +01:00 
			
		
		
		
	remove commented out code
This commit is contained in:
		@@ -156,13 +156,6 @@ bool EffectPhaser::ProcessSimpleMono(float *buffer, sampleCount len)
 | 
			
		||||
      fbout = m;
 | 
			
		||||
      out = (m * drywet + in * (255 - drywet)) / 255;
 | 
			
		||||
 | 
			
		||||
      // Prevents clipping
 | 
			
		||||
      // Commented out, per http://bugzilla.audacityteam.org/show_bug.cgi?id=690.
 | 
			
		||||
      //if (out < -1.0)
 | 
			
		||||
      //   out = float(-1.0);
 | 
			
		||||
      //else if (out > 1.0)
 | 
			
		||||
      //   out = float(1.0);
 | 
			
		||||
 | 
			
		||||
      buffer[i] = out;
 | 
			
		||||
   }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -155,13 +155,6 @@ bool EffectWahwah::ProcessSimpleMono(float *buffer, sampleCount len)
 | 
			
		||||
      yn2 = yn1;
 | 
			
		||||
      yn1 = out;
 | 
			
		||||
 | 
			
		||||
      // Prevents clipping
 | 
			
		||||
      // Commented out, per http://bugzilla.audacityteam.org/show_bug.cgi?id=689.
 | 
			
		||||
      //if (out < -1.0)
 | 
			
		||||
      //   out = float(-1.0);
 | 
			
		||||
      //else if (out > 1.0)
 | 
			
		||||
      //   out = float(1.0);
 | 
			
		||||
 | 
			
		||||
      buffer[i] = (float) out;
 | 
			
		||||
   }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user