From b1f537e0d946bdf279f3100577eb514bd973d20c Mon Sep 17 00:00:00 2001 From: Jean-Marc Valin Date: Sun, 23 Jul 2017 18:05:58 -0400 Subject: [PATCH] oops --- src/denoise.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/denoise.c b/src/denoise.c index 621445e..6705d60 100644 --- a/src/denoise.c +++ b/src/denoise.c @@ -312,6 +312,7 @@ int main(int argc, char **argv) { while (1) { kiss_fft_cpx X[FREQ_SIZE], Y[FREQ_SIZE], N[FREQ_SIZE]; float Ex[NB_BANDS], Ey[NB_BANDS], En[NB_BANDS]; + float Ln[NB_BANDS]; float features[NB_FEATURES]; float g[NB_BANDS]; float gf[FREQ_SIZE]; @@ -341,6 +342,7 @@ int main(int argc, char **argv) { frame_analysis(st, X, Ex, NULL, x); frame_analysis(st, N, En, NULL, n); + for (i=0;i