Browse Source

remove warnings

richarddobson 2 years ago
parent
commit
1b509069d7
1 changed files with 7 additions and 7 deletions
  1. 7 7
      dev/misc/paudition.c

+ 7 - 7
dev/misc/paudition.c

@@ -549,9 +549,9 @@ int pvoc_process_addon(int ifd,int ofd,int chans,int origrate,float arate,int Ml
             *output,        /* pointer to start of output buffer */
             *anal,          /* pointer to start of analysis buffer */
             *syn,           /* pointer to start of synthesis buffer */
-            *banal,         /* pointer to anal[1] (for FFT calls) */
+//            *banal,         /* pointer to anal[1] (for FFT calls) */
             *bsyn,          /* pointer to syn[1]  (for FFT calls) */
-            *nextIn,        /* pointer to next empty word in input */
+//            *nextIn,        /* pointer to next empty word in input */
             *nextOut,       /* pointer to next empty word in output */
             *analWindow,    /* pointer to center of analysis window */
             *synWindow,     /* pointer to center of synthesis window */
@@ -572,13 +572,13 @@ int pvoc_process_addon(int ifd,int ofd,int chans,int origrate,float arate,int Ml
             analWinLen,     /* half-length of analysis window */
             synWinLen;      /* half-length of synthesis window */
 
-    int outCount,       /* number of samples written to output */
+    int     outCount,       /* number of samples written to output */
             ibuflen,        /* length of input buffer */
             obuflen,        /* length of output buffer */
             nI = 0,         /* current input (analysis) sample */
             nO,             /* current output (synthesis) sample */
             nMaxOut;        /* last output (synthesis) sample */
-    int isr,            /* sampling rate */
+    int     /* isr,*/            /* sampling rate */
             endsamp = VERY_BIG_INT;
 
     float   mag,            /* magnitude of analysis data */
@@ -620,7 +620,7 @@ int pvoc_process_addon(int ifd,int ofd,int chans,int origrate,float arate,int Ml
         }
     }
 
-    isr      = origrate;
+//    isr      = origrate;
     M        = Mlen;
     D        = Dfac;
     R        = ((float) D * arate);
@@ -745,7 +745,7 @@ int pvoc_process_addon(int ifd,int ofd,int chans,int origrate,float arate,int Ml
     if(!pvoc_float_array(ibuflen,&input))
         return(0);
 
-    nextIn = input;
+//    nextIn = input;
 
     /* set up output buffer:  nextOut always points to the next word
         to be shifted out.  The shift is simulated by writing the
@@ -764,7 +764,7 @@ int pvoc_process_addon(int ifd,int ofd,int chans,int origrate,float arate,int Ml
 
     if(!pvoc_float_array(pvoc_chans+2,&anal))
         return(0);
-    banal = anal + 1;
+//    banal = anal + 1;
 
     if(!pvoc_float_array(N2+1,&oldInPhase))
         return(0);