Commit 8a66d611 authored by Markus Seeber's avatar Markus Seeber
Browse files

[jack_bufsize] Fix off by 10 error

Since help and error messages suggest, that 8192 samples is a valid
buffer size, this fixes the value in the check to 8192 instead of 8182.
parent c9bb19a9
......@@ -76,7 +76,7 @@ void parse_arguments(int argc, char *argv[])
exit(2);
}
if (nframes < 1 || nframes > 8182) {
if (nframes < 1 || nframes > 8192) {
fprintf(stderr, "%s: invalid buffer size: %s (range is 1-8192)\n",
package, argv[1]);
exit(3);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment