[xiph-cvs] cvs commit: vorbis/lib mapping0.c

Monty xiphmont at xiph.org
Mon Sep 1 16:05:49 PDT 2003



xiphmont    03/09/01 19:05:49

  Modified:    lib      mapping0.c
  Log:
  Oh, and while were at it, why not disable all the debugging waveform
  output before committing?
  
  Monty

Revision  Changes    Path
1.60      +8 -8      vorbis/lib/mapping0.c

Index: mapping0.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis/lib/mapping0.c,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -r1.59 -r1.60
--- mapping0.c	1 Sep 2003 22:59:54 -0000	1.59
+++ mapping0.c	1 Sep 2003 23:05:49 -0000	1.60
@@ -11,7 +11,7 @@
  ********************************************************************
 
  function: channel mapping 0 implementation
- last mod: $Id: mapping0.c,v 1.59 2003/09/01 22:59:54 xiphmont Exp $
+ last mod: $Id: mapping0.c,v 1.60 2003/09/01 23:05:49 xiphmont Exp $
 
  ********************************************************************/
 
@@ -157,7 +157,7 @@
 #include "psy.h"
 #include "scales.h"
 
-//#if 0
+#if 0
 static long seq=0;
 static ogg_int64_t total=0;
 static float FLOOR1_fromdB_LOOKUP[256]={
@@ -227,7 +227,7 @@
   0.82788260F, 0.88168307F, 0.9389798F, 1.F, 
 };
 
-//#endif 
+#endif 
 
 extern int *floor1_fit(vorbis_block *vb,vorbis_look_floor *look,
                        const float *logmdct,   /* in */
@@ -275,24 +275,24 @@
 
     scale_dB=todB(&scale);
 
-    //#if 0
+#if 0
     if(vi->channels==2)
       if(i==0)
         _analysis_output("pcmL",seq,pcm,n,0,0,total-n/2);
       else
         _analysis_output("pcmR",seq,pcm,n,0,0,total-n/2);
-    //#endif
+#endif
   
     /* window the PCM data */
     _vorbis_apply_window(pcm,b->window,ci->blocksizes,vb->lW,vb->W,vb->nW);
 
-    //#if 0
+#if 0
     if(vi->channels==2)
       if(i==0)
         _analysis_output("windowedL",seq,pcm,n,0,0,total-n/2);
       else
         _analysis_output("windowedR",seq,pcm,n,0,0,total-n/2);
-    //#endif
+#endif
 
     /* transform the PCM data */
     /* only MDCT right now.... */
@@ -641,10 +641,10 @@
     
   }
 
-  //#if 0
+#if 0
   seq++;
   total+=ci->blocksizes[vb->W]/4+ci->blocksizes[vb->nW]/4;
-  //#endif
+#endif
   return(0);
 }
 

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list