Changeset 1437b5c for examples/parse_args.h
- Timestamp:
- Nov 28, 2016, 4:16:20 PM (8 years ago)
- Branches:
- sampler
- Children:
- 7e8b276
- Parents:
- 5ee8dd3
- git-author:
- Paul Brossier <piem@piem.org> (10/03/16 18:41:10)
- git-committer:
- Paul Brossier <piem@piem.org> (11/28/16 16:16:20)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/parse_args.h
r5ee8dd3 r1437b5c 101 101 " (yin, yinfft only) a value between 0.1 and 0.7; default=0.3\n" 102 102 #endif /* PROG_HAS_PITCH */ 103 #ifdef PROG_HAS_SILENCE 103 104 " -s --silence select silence threshold\n" 104 105 " a value in dB, for instance -70, or -100; default=-90\n" 106 #endif /* PROG_HAS_SILENCE */ 105 107 " -T --time-format select time values output format\n" 106 108 " (samples, ms, seconds) default=seconds\n" … … 110 112 " -f --force-overwrite overwrite output file if needed\n" 111 113 " do not fail if output file already exists\n" 112 #endif 114 #endif /* PROG_HAS_OUTPUT */ 113 115 #ifdef PROG_HAS_JACK 114 116 " -j --jack use Jack\n" 115 #endif 117 #endif /* PROG_HAS_JACK */ 116 118 " -v --verbose be verbose\n" 117 119 " -h --help display this message\n" … … 143 145 #endif /* PROG_HAS_PITCH */ 144 146 "T:" 145 "s:mf"; 147 #ifdef PROG_HAS_SILENCE 148 "s:" 149 #endif /* PROG_HAS_SILENCE */ 150 #ifdef PROG_HAS_OUTPUT 151 "mf" 152 #endif /* PROG_HAS_OUTPUT */ 153 ; 146 154 int next_option; 147 155 struct option long_options[] = { … … 167 175 {"pitch-tolerance", 1, NULL, 'l'}, 168 176 #endif /* PROG_HAS_PITCH */ 177 #ifdef PROG_HAS_SILENCE 169 178 {"silence", 1, NULL, 's'}, 179 #endif /* PROG_HAS_SILENCE */ 170 180 {"time-format", 1, NULL, 'T'}, 181 #ifdef PROG_HAS_OUTPUT 171 182 {"mix-input", 0, NULL, 'm'}, 172 183 {"force-overwrite", 0, NULL, 'f'}, 184 #endif /* PROG_HAS_OUTPUT */ 173 185 {NULL, 0, NULL, 0} 174 186 };
Note: See TracChangeset
for help on using the changeset viewer.