Changeset ffc1f79 for src/spectral


Ignore:
Timestamp:
Sep 20, 2014, 3:27:58 PM (10 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:
96a96d7
Parents:
ad1ba08
Message:

src/spectral/phasevoc.c: improve error messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/spectral/phasevoc.c

    rad1ba08 rffc1f79  
    7878
    7979  if ((sint_t)hop_s < 1) {
    80     AUBIO_ERR("got hop_size %d, but can not be < 1\n", hop_s);
     80    AUBIO_ERR("pvoc: got hop_size %d, but can not be < 1\n", hop_s);
    8181    goto beach;
    8282  } else if ((sint_t)win_s < 1) {
    83     AUBIO_ERR("got buffer_size %d, but can not be < 1\n", win_s);
     83    AUBIO_ERR("pvoc: got buffer_size %d, but can not be < 1\n", win_s);
    8484    goto beach;
    8585  } else if (win_s < hop_s) {
    86     AUBIO_ERR("hop size (%d) is larger than win size (%d)\n", win_s, hop_s);
     86    AUBIO_ERR("pvoc: hop size (%d) is larger than win size (%d)\n", win_s, hop_s);
    8787    goto beach;
    8888  }
Note: See TracChangeset for help on using the changeset viewer.