- Timestamp:
- Dec 8, 2013, 5:11:48 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:
- 2c31bb6
- Parents:
- 664fd25
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/parse_args.h
r664fd25 r0a7f424 81 81 #ifdef PROG_HAS_OUTPUT 82 82 " -m --mix-input mix input signal with output signal\n" 83 " -f --force-overwrite overwrite output file if \n"83 " -f --force-overwrite overwrite output file if needed\n" 84 84 #endif 85 85 #ifdef PROG_HAS_JACK … … 235 235 } 236 236 237 if ( hop_size < 1) {237 if ((sint_t)hop_size < 1) { 238 238 errmsg("Error: got hop_size %d, but can not be < 1\n", hop_size); 239 239 usage ( stderr, 1 ); 240 } else if ( buffer_size < 2) {240 } else if ((sint_t)buffer_size < 2) { 241 241 errmsg("Error: got buffer_size %d, but can not be < 2\n", buffer_size); 242 242 usage ( stderr, 1 ); 243 } else if ( buffer_size <hop_size + 1) {243 } else if ((sint_t)buffer_size < (sint_t)hop_size + 1) { 244 244 errmsg("Error: hop size (%d) is larger than or equal to win size (%d)\n", 245 buffer_size, hop_size); 245 hop_size, buffer_size); 246 usage ( stderr, 1 ); 247 } 248 249 if ((sint_t)samplerate < 0) { 250 errmsg("Error: got samplerate %d, but can not be < 0\n", samplerate); 246 251 usage ( stderr, 1 ); 247 252 }
Note: See TracChangeset
for help on using the changeset viewer.