getting ready for 1.1

This commit is contained in:
Mark Borgerding
2004-01-31 01:28:21 +00:00
parent 9ddb2bb744
commit 366f17e379
5 changed files with 40 additions and 100 deletions

View File

@ -34,8 +34,10 @@ double snr_compare( kiss_fft_cpx * vec1,kiss_fft_cpx * vec2, int n)
}
snr = 10*log10( sigpow / noisepow );
scale /= n;
if (snr<10)
if (snr<10) {
printf( "\npoor snr, try a scaling factor %f\n" , scale );
exit(1);
}
return snr;
}
#define RANDOM