corrected maximum permitted number of FFT bins

Fixes #346
This commit is contained in:
Michael Ossmann
2017-02-16 12:06:52 -07:00
parent a8c1fc92e9
commit 6aacfa2cc9

View File

@ -484,9 +484,9 @@ int main(int argc, char** argv) {
return EXIT_FAILURE;
}
if(16368 < fftSize) {
if(8184 < fftSize) {
fprintf(stderr,
"argument error: FFT bin width (-w) too small, resulted in more than 16368 FFT bins\n");
"argument error: FFT bin width (-w) too small, resulted in more than 8184 FFT bins\n");
return EXIT_FAILURE;
}