diff options
-rw-r--r-- | src/GainControl.cpp | 2 |
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); |