Changeset 6b98ab9 for src/io


Ignore:
Timestamp:
Aug 6, 2018, 5:46:13 PM (6 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:
230101d
Parents:
a4e5a1a (diff), 99c7aa2 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'fix/negative_samplerate'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/io/source_wavread.c

    ra4e5a1a r6b98ab9  
    196196  }
    197197
    198   if ( sr == 0 ) {
    199     AUBIO_ERR("source_wavread: Failed opening %s (samplerate can not be 0)\n", s->path);
     198  if ( (sint_t)sr <= 0 ) {
     199    AUBIO_ERR("source_wavread: Failed opening %s (samplerate can not be <= 0)\n", s->path);
    200200    goto beach;
    201201  }
Note: See TracChangeset for help on using the changeset viewer.