[xiph-commits] r11125 - trunk/speex/libspeex

jm at svn.xiph.org jm at svn.xiph.org
Wed Apr 12 06:39:30 PDT 2006


Author: jm
Date: 2006-04-12 06:39:28 -0700 (Wed, 12 Apr 2006)
New Revision: 11125

Modified:
   trunk/speex/libspeex/filters.c
Log:
removed unused stuff


Modified: trunk/speex/libspeex/filters.c
===================================================================
--- trunk/speex/libspeex/filters.c	2006-04-12 07:12:10 UTC (rev 11124)
+++ trunk/speex/libspeex/filters.c	2006-04-12 13:39:28 UTC (rev 11125)
@@ -667,16 +667,9 @@
 )
 {
    int i; 
-   int pitch_period;
-   int pitch_tweak;
-   spx_sig_t iexc[4*nsf];
-   spx_coef_t *awk;
-   float tot_gain, curr_gain;
+   spx_sig_t iexc[3*nsf];
    float old_ener, new_ener;
-   float corr[100];
    int corr_pitch;
-   spx_word32_t max_corr;
-   float max_ener;
    
    int nol_pitch[6];
    spx_word16_t nol_pitch_coef[6];
@@ -709,7 +702,6 @@
       interp_pitch(exc, iexc+nsf, -corr_pitch, 80);
 
    interp_pitch(exc, iexc+2*nsf, 2*corr_pitch, 80);
-   interp_pitch(exc, iexc+3*nsf, 3*corr_pitch, 80);
    
    /*printf ("%d %d %f\n", pitch, corr_pitch, max_corr*ener_1);*/
    



More information about the commits mailing list