Changeset bafa767 for examples


Ignore:
Timestamp:
Feb 22, 2014, 8:38:48 PM (11 years ago)
Author:
Paul Brossier <piem@piem.org>
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:
9aa0af3
Parents:
687eead
Message:

examples/parse_args.h: enable hop_size == buffer_size

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/parse_args.h

    r687eead rbafa767  
    243243    errmsg("Error: got buffer_size %d, but can not be < 2\n", buffer_size);
    244244    usage ( stderr, 1 );
    245   } else if ((sint_t)buffer_size < (sint_t)hop_size + 1) {
    246     errmsg("Error: hop size (%d) is larger than or equal to win size (%d)\n",
     245  } else if ((sint_t)buffer_size < (sint_t)hop_size) {
     246    errmsg("Error: hop size (%d) is larger than win size (%d)\n",
    247247        hop_size, buffer_size);
    248248    usage ( stderr, 1 );
Note: See TracChangeset for help on using the changeset viewer.