Browse Source

removed comments from required code (clear failure on PC)

richarddobson 1 year ago
parent
commit
791df648cd
1 changed files with 2 additions and 2 deletions
  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 */