Explorar o código

removed comments from required code (clear failure on PC)

richarddobson hai 1 ano
pai
achega
791df648cd
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      dev/repitch/repitch.c

+ 2 - 2
dev/repitch/repitch.c

@@ -780,8 +780,8 @@ int is_peak_at(double frq,int window_offset,float minamp,dataptr dz)
     int cc, vc, searchtop, searchbot;
     if(window_offset) {                                                             /* BAKTRAK ALONG BIGBUF, IF NESS */
         thisbuf = dz->flbufptr[0] - (window_offset * dz->wanted);
-        /* if((int)thisbuf < 0 || thisbuf < dz->bigfbuf || thisbuf >= dz->flbufptr[1]) */
-        /*     return(FALSE); */
+         if((int)thisbuf < 0 || thisbuf < dz->bigfbuf || thisbuf >= dz->flbufptr[1])
+             return(FALSE);
     } else
         thisbuf = dz->flbufptr[0];
     cc = (int)((frq + dz->halfchwidth)/dz->chwidth);                 /* TRUNCATE */