Lines Matching defs:arg
179 char *arg = argv[i];
180 if (arg[0] != '-') {
184 if (!strncmp(arg, "-r", 2)) {
185 rxBufCount = atoi(&arg[2]);
191 } else if (!strncmp(arg, "-t", 2)) {
192 txBufCount = atoi(&arg[2]);
198 } else if (!strncmp(arg, "-f", 2)) {
199 bufSizeInFrames = atoi(&arg[2]);
205 } else if (!strncmp(arg, "-c", 2)) {
206 channels = atoi(&arg[2]);
213 } else if (!strncmp(arg, "-s", 2)) {
214 sampleRate = atoi(&arg[2]);
232 } else if (!strncmp(arg, "-e", 2)) {
233 exitAfterSeconds = atoi(&arg[2]);
235 fprintf(stderr, "%s: unknown option %s\n", argv[0], arg);