Lines Matching refs:optarg
122 bat->target_freq[1] = bat->target_freq[0] = atof(optarg);
125 bat->target_freq[0] = atof(optarg);
130 static void get_format(struct bat *bat, char *optarg)
132 if (strcasecmp(optarg, "cd") == 0) {
137 } else if (strcasecmp(optarg, "dat") == 0) {
142 } else if (strcasecmp(optarg, "U8") == 0) {
145 } else if (strcasecmp(optarg, "S16_LE") == 0) {
148 } else if (strcasecmp(optarg, "S24_3LE") == 0) {
151 } else if (strcasecmp(optarg, "S32_LE") == 0) {
156 fprintf(bat->err, _("wrong extended format '%s'\n"), optarg);
410 bat->logarg = optarg;
413 bat->playback.file = optarg;
416 bat->debugplay = optarg;
419 bat->capturefile = optarg;
433 get_snr_thd_db(bat, optarg);
436 get_snr_thd_pc(bat, optarg);
440 bat->playback.device = optarg;
442 bat->capture.device = optarg;
449 bat->playback.device = optarg;
456 bat->capture.device = optarg;
459 bat->narg = optarg;
462 get_sine_frequencies(bat, optarg);
465 bat->channels = atoi(optarg);
468 bat->rate = atoi(optarg);
471 get_format(bat, optarg);
474 bat->sigma_k = atof(optarg);
477 bat->periods_total = atoi(optarg);
481 err = atoi(optarg);
486 err = atoi(optarg);