Changeset fc9c60e for examples/parse_args.h
- Timestamp:
- Jul 2, 2020, 3:34:26 PM (4 years ago)
- Branches:
- feature/cnn, feature/crepe, fix/ffmpeg5, master
- Children:
- e836160
- Parents:
- 1ec59e4 (diff), 9c730b5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/parse_args.h
r1ec59e4 rfc9c60e 26 26 27 27 extern int verbose; 28 extern int quiet; 28 29 // input / output 29 30 extern int usejack; … … 128 129 #endif /* defined(PROG_HAS_ONSET) && !defined(PROG_HAS_PITCH) */ 129 130 #endif /* defined(PROG_HAS_JACK) && defined(HAVE_JACK) */ 131 " -q --quiet be quiet\n" 130 132 " -v --verbose be verbose\n" 131 133 " -h --help display this message\n" … … 142 144 { 143 145 #ifdef HAVE_GETOPT_H 144 const char *options = "hv "146 const char *options = "hvq" 145 147 "i:r:B:H:" 146 148 #ifdef PROG_HAS_JACK … … 174 176 {"help", 0, NULL, 'h'}, 175 177 {"verbose", 0, NULL, 'v'}, 178 {"quiet", 0, NULL, 'q'}, 176 179 {"input", 1, NULL, 'i'}, 177 180 {"samplerate", 1, NULL, 'r'}, … … 227 230 verbose = 1; 228 231 break; 232 case 'q': /* quiet */ 233 quiet = 1; 234 break; 229 235 case 'j': 230 236 usejack = 1;
Note: See TracChangeset
for help on using the changeset viewer.