Lines Matching refs:optstate

43 #define GETOPT_FREQ(optstate, c, name, min) \  argument
44 case c: p->name = lsx_parse_frequency(optstate.arg, &parseIndex); \
53 lsx_getopt_t optstate; in create() local
54 lsx_getopt_init(argc, argv, opt_str, NULL, lsx_getopt_flag_none, 1, &optstate); in create()
76 while ((c = lsx_getopt(&optstate)) != -1) switch (c) { in create()
78 GETOPT_NUMERIC(optstate, 'b', bootTime , .1 , 10) in create()
79 GETOPT_NUMERIC(optstate, 'N', noiseTcUp , .1 , 10) in create()
80 GETOPT_NUMERIC(optstate, 'n', noiseTcDown ,.001 , .1) in create()
81 GETOPT_NUMERIC(optstate, 'r', noiseReductionAmount,0 , 2) in create()
82 GETOPT_NUMERIC(optstate, 'f', measureFreq , 5 , 50) in create()
83 GETOPT_NUMERIC(optstate, 'm', measureDuration, .01 , 1) in create()
84 GETOPT_NUMERIC(optstate, 'M', measureTc , .1 , 1) in create()
85 GETOPT_FREQ( optstate, 'h', hpFilterFreq , 10) in create()
86 GETOPT_FREQ( optstate, 'l', lpFilterFreq , 1000) in create()
87 GETOPT_FREQ( optstate, 'H', hpLifterFreq , 10) in create()
88 GETOPT_FREQ( optstate, 'L', lpLifterFreq , 1000) in create()
89 GETOPT_NUMERIC(optstate, 'T', triggerTc , .01 , 1) in create()
90 GETOPT_NUMERIC(optstate, 't', triggerLevel , 0 , 20) in create()
91 GETOPT_NUMERIC(optstate, 's', searchTime , .1 , 4) in create()
92 GETOPT_NUMERIC(optstate, 'g', gapTime , .1 , 1) in create()
93 GETOPT_NUMERIC(optstate, 'p', preTriggerTime, 0 , 4) in create()
94 default: lsx_fail("invalid option `-%c'", optstate.opt); return lsx_usage(effp); in create()
96 return optstate.ind !=argc? lsx_usage(effp) : SOX_SUCCESS; in create()