Changeset df7be43 for examples/parse_args.h
- Timestamp:
- Aug 12, 2015, 4:31:40 PM (9 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
- Children:
- 3ff50e5
- Parents:
- 340cb93
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/parse_args.h
r340cb93 rdf7be43 36 36 extern smpl_t pitch_tolerance; 37 37 // time stuff 38 extern char_t *time_format;38 extern uint_t time_format; 39 39 // tempo stuff 40 40 extern char_t * tempo_method; … … 209 209 break; 210 210 case 'T': 211 time_format = optarg; 211 if (strcmp (optarg, "samples") == 0) { 212 time_format = 2; 213 } else if (strcmp (optarg, "ms") == 0) { 214 time_format = 1; 215 } else if (strcmp (optarg, "seconds") == 0) { 216 time_format = 0; 217 } else { 218 errmsg ("Warning: did not get '%s' time-format string\n", optarg); 219 } 212 220 break; 213 221 case 's': /* silence threshold */
Note: See TracChangeset
for help on using the changeset viewer.