Changeset 3a83821 for examples/parse_args.h
- Timestamp:
- Jul 1, 2020, 8:08:51 PM (4 years ago)
- Branches:
- feature/cnn, feature/crepe, fix/ffmpeg5, master
- Children:
- 4c9aa80
- Parents:
- 08d07ce (diff), eadb7f6 (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
r08d07ce r3a83821 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.