Browse Source

[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.
tags/v1.9.11-RC1
Markus Seeber 10 years ago
parent
commit
8a66d611b9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      example-clients/bufsize.c

+ 1
- 1
example-clients/bufsize.c View File

@@ -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);


Loading…
Cancel
Save