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

jm at svn.xiph.org jm at svn.xiph.org
Wed May 10 06:49:46 PDT 2006


Author: jm
Date: 2006-05-10 06:49:44 -0700 (Wed, 10 May 2006)
New Revision: 11396

Modified:
   trunk/speex/libspeex/fftwrap.c
Log:
disabled some smallft-based debug code


Modified: trunk/speex/libspeex/fftwrap.c
===================================================================
--- trunk/speex/libspeex/fftwrap.c	2006-05-10 13:47:15 UTC (rev 11395)
+++ trunk/speex/libspeex/fftwrap.c	2006-05-10 13:49:44 UTC (rev 11396)
@@ -226,9 +226,8 @@
 #endif
 
 
-int fixed_point = 1;
 #ifdef FIXED_POINT
-#include "smallft.h"
+/*#include "smallft.h"*/
 
 
 void spx_fft_float(void *table, float *in, float *out)
@@ -252,6 +251,7 @@
    spx_fft(table, _in, _out);
    for (i=0;i<N;i++)
       out[i] = _out[i];
+#if 0
    if (!fixed_point)
    {
       float scale;
@@ -263,6 +263,7 @@
       spx_drft_forward(&t, out);
       spx_drft_clear(&t);
    }
+#endif
 }
 
 void spx_ifft_float(void *table, float *in, float *out)
@@ -286,6 +287,7 @@
    spx_ifft(table, _in, _out);
    for (i=0;i<N;i++)
       out[i] = _out[i];
+#if 0
    if (!fixed_point)
    {
       int i;
@@ -296,6 +298,7 @@
       spx_drft_backward(&t, out);
       spx_drft_clear(&t);
    }
+#endif
 }
 
 #else



More information about the commits mailing list