aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/GainControl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GainControl.cpp b/src/GainControl.cpp
index 5404702..6c4254b 100644
--- a/src/GainControl.cpp
+++ b/src/GainControl.cpp
@@ -117,7 +117,7 @@ int GainControl::process(Buffer* const dataIn, Buffer* dataOut)
}
for (size_t i = 0; i < sizeIn; i += d_frameSize) {
- gain = myFactor * computeGain(in, d_frameSize);
+ gain = d_factor * computeGain(in, d_frameSize);
PDEBUG("********** Gain: %10f **********\n", gain);