Changes in / [4c9aa80:7889d29]
- Files:
-
- 11 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
.travis.yml
r4c9aa80 r7889d29 39 39 os: osx 40 40 compiler: clang 41 env: WAFOPTS="--enable-fat --disable-avcodec --disable-sndfile --disable-samplerate --disable-rubberband"41 env: WAFOPTS="--enable-fat --disable-avcodec --disable-sndfile --disable-samplerate" 42 42 - language: C 43 43 os: osx 44 44 compiler: clang 45 env: WAFOPTS="--with-target-platform=ios --disable-avcodec --disable-sndfile --disable-samplerate --disable-rubberband" AUBIO_NOTESTS=145 env: WAFOPTS="--with-target-platform=ios --disable-avcodec --disable-sndfile --disable-samplerate" AUBIO_NOTESTS=1 46 46 - language: C 47 47 os: osx 48 48 compiler: clang 49 env: WAFOPTS="--with-target-platform=iosimulator --disable-avcodec --disable-sndfile --disable-samplerate --disable-rubberband" AUBIO_NOTESTS=149 env: WAFOPTS="--with-target-platform=iosimulator --disable-avcodec --disable-sndfile --disable-samplerate" AUBIO_NOTESTS=1 50 50 51 51 # use trusty … … 66 66 - libasound2-dev 67 67 - libfftw3-dev 68 - librubberband-dev69 68 - sox 70 69 - lcov … … 74 73 - ffmpeg 75 74 - libsndfile 76 - libsamplerate77 - rubberband78 75 - lcov 79 76 update: true -
python/lib/gen_code.py
r4c9aa80 r7889d29 21 21 'method': '"default"', 22 22 'uri': '"none"', 23 'transpose': '0.',24 23 } 25 24 … … 85 84 'filterbank': 'self->n_filters', 86 85 'tss': 'self->buf_size', 87 'pitchshift': 'self->hop_size',88 86 'dct': 'self->size', 89 87 } … … 99 97 'wavetable': 'self->hop_size', 100 98 'tss': 'self->buf_size / 2 + 1', 101 'pitchshift': 'self->hop_size',102 99 } 103 100 … … 294 291 if p['type'] == 'char_t*': 295 292 return self.check_valid_char(p) 296 if p['type'] == 'smpl_t':297 return self.check_valid_smpl(p)298 293 else: 299 294 print ("ERROR, no idea how to check %s for validity" % p['type']) … … 316 311 self->{name} = {defval}; 317 312 if ({name} != NULL) {{ 318 self->{name} = {name};319 }}320 """.format(defval = aubiodefvalue[name], name = name)321 322 def check_valid_smpl(self, p):323 name = p['name']324 return """325 self->{name} = {defval};326 if ({name} != 0.) {{327 313 self->{name} = {name}; 328 314 }} -
python/lib/gen_external.py
r4c9aa80 r7889d29 47 47 'audio_unit', 48 48 'spectral_whitening', 49 'timestretch', # TODO fix parsing of uint_t *read in _do50 49 ] 51 50 -
python/lib/moresetuptools.py
r4c9aa80 r7889d29 79 79 packages = ['libavcodec', 'libavformat', 'libavutil', 80 80 'libswresample', 'libavresample', 81 'jack',82 81 'sndfile', 83 'rubberband',84 82 #'fftw3f', 85 83 ] … … 103 101 if 'samplerate' in ext.libraries: 104 102 ext.define_macros += [('HAVE_SAMPLERATE', 1)] 105 if 'rubberband' in ext.libraries:106 ext.define_macros += [('HAVE_RUBBERBAND', 1)]107 103 if 'fftw3f' in ext.libraries: 108 104 ext.define_macros += [('HAVE_FFTW3F', 1)] -
src/aubio.h
r4c9aa80 r7889d29 221 221 #include "pitch/pitchspecacf.h" 222 222 #include "tempo/beattracking.h" 223 #include "effects/pitchshift.h"224 #include "effects/timestretch.h"225 223 #include "utils/scale.h" 226 224 #include "utils/hist.h" -
src/wscript_build
r4c9aa80 r7889d29 7 7 uselib += ['SAMPLERATE'] 8 8 uselib += ['SNDFILE'] 9 uselib += ['RUBBERBAND']10 9 uselib += ['AVCODEC'] 11 10 uselib += ['AVFORMAT'] -
wscript
r4c9aa80 r7889d29 73 73 help_str = 'compile with samplerate (auto)', 74 74 help_disable_str = 'disable samplerate') 75 add_option_enable_disable(ctx, 'rubberband', default = None,76 help_str = 'compile with rubberband (auto)',77 help_disable_str = 'disable rubberband')78 75 add_option_enable_disable(ctx, 'memcpy', default = True, 79 76 help_str = 'use memcpy hacks (default)', … … 387 384 args = '--cflags --libs samplerate >= 0.0.15', 388 385 mandatory = ctx.options.enable_samplerate) 389 390 # check for librubberband391 if (ctx.options.enable_rubberband != False):392 ctx.check_cfg(package = 'rubberband', atleast_version = '1.3',393 args = '--cflags --libs',394 mandatory = ctx.options.enable_rubberband)395 386 396 387 # check for jack
Note: See TracChangeset
for help on using the changeset viewer.