diff --git a/Makefile b/Makefile index 545730e..de261c2 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -all: kiss_fft_s kiss_fft_f kiss_fft_d freqpeak tones +all: kiss_fft_s kiss_fft_f kiss_fft_d freqpeak tones testsig kiss_fft_s: kiss_fft.h kiss_fft.c gcc -Wall -O3 -o kiss_fft_s -DFIXED_POINT -DFFT_UTIL kiss_fft.c -lm diff --git a/freqpeak.c b/freqpeak.c index df3fcf0..cd9e2ff 100644 --- a/freqpeak.c +++ b/freqpeak.c @@ -28,18 +28,14 @@ int main(int argc, char ** argv) memset( rmag2 , 0 , sizeof(rmag2) ); while ( fread( sampsin , sizeof(short) * 2*NFFT, 1 , stdin ) == 1 ) { - //perform two ffts in parallel by packing the channels into the real and imaginary - // - + + //perform two ffts in parallel by packing the left&right channels into the real and imaginary for (k=0;k