From: drowe67 Date: Thu, 19 Jun 2014 22:53:04 +0000 (+0000) Subject: patch to save PfW memory, thaks Steve X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=332716faf577353228a45709f65c9064ca4a82ea;p=freetel-svn-tracking.git patch to save PfW memory, thaks Steve git-svn-id: https://svn.code.sf.net/p/freetel/code@1694 01035d8c-6547-0410-b346-abe4f91aad63 --- diff --git a/codec2-dev/src/quantise.c b/codec2-dev/src/quantise.c index 95a45ce6..a8bc71e4 100644 --- a/codec2-dev/src/quantise.c +++ b/codec2-dev/src/quantise.c @@ -795,7 +795,7 @@ void lpc_post_filter(kiss_fft_cfg fft_fwd_cfg, MODEL *model, COMP Pw[], float ak COMP Ww[FFT_ENC]; /* weighting spectrum */ float Rw[FFT_ENC]; /* R = WA */ float e_before, e_after, gain; - float Pfw[FFT_ENC]; /* Post filter mag spectrum */ + float Pfw; float max_Rw, min_Rw; float coeff; TIMER_VAR(tstart, tfft1, taw, tfft2, tww, tr); @@ -883,14 +883,14 @@ void lpc_post_filter(kiss_fft_cfg fft_fwd_cfg, MODEL *model, COMP Pw[], float ak dump_Pwb(Pw); #endif + e_after = 1E-4; for(i=0; i