1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-06 16:50:12 +01:00
This commit is contained in:
v.audacity
2013-12-19 02:13:37 +00:00
parent 0bfe42280a
commit 7190839f6a

View File

@@ -156,10 +156,11 @@ bool EffectWahwah::ProcessSimpleMono(float *buffer, sampleCount len)
yn1 = out;
// Prevents clipping
if (out < -1.0)
out = float(-1.0);
else if (out > 1.0)
out = float(1.0);
// 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;
}