Home | History | Annotate | Download | only in sandbox

Lines Matching defs:arg

115 static void *file_reader_loop(void *arg __unused)
194 char *arg = argv[i];
195 if (arg[0] != '-') {
198 if (!strcmp(arg, "-b")) {
200 } else if (!strcmp(arg, "-l")) {
202 } else if (!strcmp(arg, "-8")) {
204 } else if (!strcmp(arg, "-16")) {
206 } else if (!strcmp(arg, "-24")) {
208 } else if (!strcmp(arg, "-32")) {
210 } else if (!strcmp(arg, "-32f")) {
212 } else if (!strncmp(arg, "-f", 2)) {
213 framesPerBuffer = atoi(&arg[2]);
214 } else if (!strncmp(arg, "-n", 2)) {
215 numBuffers = atoi(&arg[2]);
216 } else if (!strncmp(arg, "-p", 2)) {
217 initialRate = atoi(&arg[2]);
219 } else if (!strncmp(arg, "-P", 2)) {
220 finalRate = atoi(&arg[2]);
222 } else if (!strncmp(arg, "-q", 2)) {
223 deltaRate = atoi(&arg[2]);
229 } else if (!strncmp(arg, "-Q", 2)) {
230 deltaRateMs = atoi(&arg[2]);
232 } else if (!strcmp(arg, "-r")) {
235 fprintf(stderr, "option %s ignored\n", arg);