From c2c525dcc3dd3b00a961ec491eeda00aae1e0039 Mon Sep 17 00:00:00 2001 From: richardash1981 Date: Sat, 25 Oct 2014 21:16:00 +0000 Subject: [PATCH] remove commented out code --- src/effects/Phaser.cpp | 7 ------- src/effects/Wahwah.cpp | 7 ------- 2 files changed, 14 deletions(-) diff --git a/src/effects/Phaser.cpp b/src/effects/Phaser.cpp index cb55c0779..c3261a679 100644 --- a/src/effects/Phaser.cpp +++ b/src/effects/Phaser.cpp @@ -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; } diff --git a/src/effects/Wahwah.cpp b/src/effects/Wahwah.cpp index a46092fc6..512b3a546 100644 --- a/src/effects/Wahwah.cpp +++ b/src/effects/Wahwah.cpp @@ -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; }