Changeset ed9696f


Ignore:
Timestamp:
Sep 19, 2016, 10:50:19 PM (8 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/cnn, feature/crepe, feature/pitchshift, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch
Children:
46243dd4
Parents:
e467cf9
Message:

src/effects/pitchshift.c: avoid error with rubberband 1.3, print a warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/effects/pitchshift.c

    re467cf9 red9696f  
    2727
    2828#include "rubberband/rubberband-c.h"
     29
     30// check rubberband is 1.8.1, warn if 1.3
     31#if !((RUBBERBAND_API_MAJOR_VERSION >= 2) && \
     32    (RUBBERBAND_API_MINOR_VERSION >= 5))
     33#warning RubberBandOptionDetectorSoft not available, \
     34 please upgrade rubberband to version 1.8.1 or higher
     35#define RubberBandOptionDetectorSoft 0x00000000
     36#endif
    2937
    3038/** generic pitch shifting structure */
Note: See TracChangeset for help on using the changeset viewer.