Lines Matching defs:arg
498 const char *arg = argv[i];
499 if (arg[0] != '-') {
502 switch (arg[1]) {
504 channelCount = atoi(&arg[2]);
507 durationInSeconds = atoi(&arg[2]);
516 presetValue = atoi(&arg[2]);
519 sampleRate = atoi(&arg[2]);
531 performanceMode = atoi(&arg[2]);
534 if (strstr(arg, "e") != NULL) {
537 if (strstr(arg, "a") != NULL) {
540 if (strstr(arg, "n") != NULL) {
545 fprintf(stderr, "%s: unknown option %s\n", prog, arg);