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

jm at svn.xiph.org jm at svn.xiph.org
Thu Dec 22 02:29:31 PST 2005


Author: jm
Date: 2005-12-22 02:29:28 -0800 (Thu, 22 Dec 2005)
New Revision: 10672

Modified:
   trunk/speex/libspeex/nb_celp.c
Log:
remove debug code


Modified: trunk/speex/libspeex/nb_celp.c
===================================================================
--- trunk/speex/libspeex/nb_celp.c	2005-12-22 03:47:25 UTC (rev 10671)
+++ trunk/speex/libspeex/nb_celp.c	2005-12-22 10:29:28 UTC (rev 10672)
@@ -97,7 +97,11 @@
 
 #endif
 
+#ifdef VORBIS_PSYCHO
 #define EXTRA_BUFFER 100
+#else
+#define EXTRA_BUFFER 0
+#endif
 
 
 #define sqr(x) ((x)*(x))
@@ -439,7 +443,7 @@
 
 #ifdef VORBIS_PSYCHO
    compute_curve(st->psy, st->frame-16, st->curve);
-   print_vec(st->curve, 128, "curve");
+   /*print_vec(st->curve, 128, "curve");*/
    if (st->first)
       for (i=0;i<128;i++)
          st->old_curve[i] = st->curve[i];
@@ -761,6 +765,7 @@
          for (i=1;i<=st->lpcSize;i++)
             st->bw_lpc2[i]=0;
       }
+      /*print_vec(st->bw_lpc1, 10, "bw_lpc");*/
 #endif
 
       for (i=0;i<st->subframeSize;i++)



More information about the commits mailing list