- Timestamp:
- Dec 7, 2013, 7:11:09 PM (11 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:
- 251da3b
- Parents:
- 5958d1e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/parse_args.h
r5958d1e r0428150 230 230 } 231 231 232 if (hop_size < 1) { 233 errmsg("Error: got hop_size %d, but can not be < 1\n", hop_size); 234 usage ( stderr, 1 ); 235 } else if (buffer_size < 2) { 236 errmsg("Error: got buffer_size %d, but can not be < 2\n", buffer_size); 237 usage ( stderr, 1 ); 238 } else if (buffer_size < hop_size + 1) { 239 errmsg("Error: hop size (%d) is larger than or equal to win size (%d)\n", 240 buffer_size, hop_size); 241 usage ( stderr, 1 ); 242 } 243 232 244 return 0; 233 245 }
Note: See TracChangeset
for help on using the changeset viewer.