diff --git a/src/denoise.c b/src/denoise.c index 0211d49..77884a9 100644 --- a/src/denoise.c +++ b/src/denoise.c @@ -317,13 +317,19 @@ static void frame_analysis(DenoiseState *st, kiss_fft_cpx *X, float *Ex, const f { _celt_autocorr(x, ac, NULL, 0, LPC_ORDER, WINDOW_SIZE); /* -40 dB noise floor. */ - ac[0] -= ac[0]*1e-4; + ac[0] += ac[0]*1e-4; /* Lag windowing. */ for (i=1;i