Changeset 4724f60 for src/notes/notes.c


Ignore:
Timestamp:
Oct 30, 2018, 12:55:30 PM (5 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
Children:
929d76c
Parents:
a07fdb4
Message:

[notes] fails if release_drop <= 0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/notes/notes.c

    ra07fdb4 r4724f60  
    151151{
    152152  uint_t err = AUBIO_OK;
    153   if (release_drop_level < 0.) {
     153  if (release_drop_level <= 0.) {
     154    AUBIO_ERR("notes: release_drop should be >= 0, got %f\n", release_drop_level);
    154155    err = AUBIO_FAIL;
    155156  } else {
Note: See TracChangeset for help on using the changeset viewer.