mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-16 08:09:32 +02:00
remove commented out code
This commit is contained in:
parent
b133ba5ab7
commit
c2c525dcc3
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user