Lines Matching refs:arg
115 static void *file_reader_loop(void *arg)
178 char *arg = argv[i];
179 if (arg[0] != '-') {
182 if (!strcmp(arg, "-b")) {
184 } else if (!strcmp(arg, "-l")) {
186 } else if (!strcmp(arg, "-8")) {
188 } else if (!strncmp(arg, "-f", 2)) {
189 framesPerBuffer = atoi(&arg[2]);
190 } else if (!strncmp(arg, "-n", 2)) {
191 numBuffers = atoi(&arg[2]);
192 } else if (!strncmp(arg, "-p", 2)) {
193 initialRate = atoi(&arg[2]);
195 } else if (!strncmp(arg, "-P", 2)) {
196 finalRate = atoi(&arg[2]);
198 } else if (!strncmp(arg, "-q", 2)) {
199 deltaRate = atoi(&arg[2]);
205 } else if (!strncmp(arg, "-Q", 2)) {
206 deltaRateMs = atoi(&arg[2]);
208 } else if (!strcmp(arg, "-r")) {
211 fprintf(stderr, "option %s ignored\n", arg);