mirror of
https://github.com/mborgerding/kissfft.git
synced 2025-05-27 21:20:27 -04:00
*** empty log message ***
This commit is contained in:
parent
ceaa3900c0
commit
f492f40cb7
2
Makefile
2
Makefile
@ -7,7 +7,7 @@ ZIPFILE=kiss_fft_v$(KFVER).zip
|
||||
testall:
|
||||
# The simd and long types may or may not work on your machine
|
||||
#export DATATYPE=simd && cd test && make test
|
||||
export DATATYPE=long && cd test && make test
|
||||
#export DATATYPE=long && cd test && make test
|
||||
|
||||
export DATATYPE=short && cd test && make test
|
||||
export DATATYPE=float && cd test && make test
|
||||
|
@ -67,6 +67,8 @@ int main(int argc,char ** argv)
|
||||
fprintf(stderr,"KISS\tnfft=%d\tnumffts=%d\n" ,nfft,numffts);
|
||||
pstats_report();
|
||||
|
||||
kiss_fft_cleanup();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -59,6 +59,7 @@ double two_tone_test( int nfft, int bin1,int bin2)
|
||||
else
|
||||
sigpow += mag2;
|
||||
}
|
||||
kiss_fft_cleanup();
|
||||
/*printf("TEST %d,%d,%d noise @ %fdB\n",nfft,bin1,bin2,10*log10(noisepow/sigpow +1e-30) );*/
|
||||
return 10*log10(sigpow/(noisepow+1e-50) );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user