Changeset 4bb2e74


Ignore:
Timestamp:
Dec 7, 2018, 1:28:57 AM (10 months ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/timestretch
Children:
9d8cedf5
Parents:
a77f0c6
git-author:
Paul Brossier <piem@piem.org> (12/07/18 00:04:07)
git-committer:
Paul Brossier <piem@piem.org> (12/07/18 01:28:57)
Message:

[effects] aubio_get_rubberband_opts returns -1 if parsing fails

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/effects/rubberband_utils.c

    ra77f0c6 r4bb2e74  
    126126      else if ( strcmp(params[i], "ChannelsTogether" ) == 0 )      rboptions |= RubberBandOptionChannelsTogether;
    127127      else {
    128         AUBIO_WRN("rubberband_utils: did not understand option '%s', should be one of: "
     128        AUBIO_ERR("rubberband_utils: did not understand option '%s', should be one of: "
    129129          "StretchElastic|StretchPrecise, TransientsCrisp|TransientsMixed|TransientsSmooth, "
    130130          "DetectorCompound|DetectorPercussive|DetectorSoft, PhaseLaminar|PhaseIndependent, "
     
    133133          "PitchHighSpeed|PitchHighQuality|PitchHighConsistency, ChannelsApart|ChannelsTogether\n"
    134134          , params[i]);
     135        return -1;
    135136      }
    136137      free(params[i]);
Note: See TracChangeset for help on using the changeset viewer.