diff --git a/src/fft.c b/src/fft.c index 1417a7f..1082123 100644 --- a/src/fft.c +++ b/src/fft.c @@ -87,17 +87,20 @@ cplx *outputComponents; if(inLen % 2 != 0){ - fprintf(stderr, "The length of the array MUST be a power of 2."); - exit(EXIT_FAILURE); + fprintf(stderr, "The length of the array MUST be a power of 2."); + exit(EXIT_FAILURE); } inputComponents = (cplx*)malloc((inLen)*sizeof(cplx)); - for(i=1; isong && status->song->duration_sec) { - print_rate_info(sampleRate, nsamples, maxC, status->song->duration_sec, basefreq, oratio); + print_rate_info(sampleRate, N_SAMPLES, maxC, status->song->duration_sec, basefreq, oratio); cnt_over = 0; } print_mpd_status(status, maxC, maxR/6-statusHeight-2, statusCol);