Changeset 299dbfd
- Timestamp:
- Aug 13, 2015, 3:31:06 PM (9 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, sampler
- Children:
- be6e8e6
- Parents:
- 9f060d1 (diff), 7b2d740 (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. - Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/temporal/resampler.c
r9f060d1 r299dbfd 77 77 struct _aubio_resampler_t 78 78 { 79 void *dummy; 79 80 }; 80 81 -
wscript
r9f060d1 r299dbfd 179 179 if (ctx.options.enable_fftw3f != False): 180 180 ctx.check_cfg(package = 'fftw3f', atleast_version = '3.0.0', 181 args = '--cflags --libs', mandatory = False) 181 args = '--cflags --libs', 182 mandatory = ctx.options.enable_fftw3f) 182 183 if (ctx.options.enable_double == True): 183 ctx.msg('Warning', 'fftw3f enabled, but compiling in double precision!') 184 ctx.msg('Warning', 185 'fftw3f enabled, but compiling in double precision!') 184 186 else: 185 # fftw3f not enabled, take most sensible one according to enable_double 187 # fftw3f disabled, take most sensible one according to 188 # enable_double 186 189 if (ctx.options.enable_double == True): 187 190 ctx.check_cfg(package = 'fftw3', atleast_version = '3.0.0', 188 args = '--cflags --libs', mandatory = False) 191 args = '--cflags --libs', mandatory = 192 ctx.options.enable_fftw3) 189 193 else: 190 194 ctx.check_cfg(package = 'fftw3f', atleast_version = '3.0.0', 191 args = '--cflags --libs', mandatory = False) 195 args = '--cflags --libs', 196 mandatory = ctx.options.enable_fftw3) 192 197 ctx.define('HAVE_FFTW3', 1) 193 198 … … 205 210 if (ctx.options.enable_sndfile != False): 206 211 ctx.check_cfg(package = 'sndfile', atleast_version = '1.0.4', 207 args = '--cflags --libs', mandatory = False) 212 args = '--cflags --libs', 213 mandatory = ctx.options.enable_sndfile) 208 214 209 215 # check for libsamplerate 210 216 if (ctx.options.enable_samplerate != False): 211 217 ctx.check_cfg(package = 'samplerate', atleast_version = '0.0.15', 212 args = '--cflags --libs', mandatory = False) 218 args = '--cflags --libs', 219 mandatory = ctx.options.enable_samplerate) 213 220 214 221 # check for jack 215 222 if (ctx.options.enable_jack != False): 216 223 ctx.check_cfg(package = 'jack', 217 args = '--cflags --libs', mandatory = False) 224 args = '--cflags --libs', 225 mandatory = ctx.options.enable_jack) 218 226 219 227 # check for libav 220 228 if (ctx.options.enable_avcodec != False): 221 229 ctx.check_cfg(package = 'libavcodec', atleast_version = '54.35.0', 222 args = '--cflags --libs', uselib_store = 'AVCODEC', mandatory = False) 230 args = '--cflags --libs', uselib_store = 'AVCODEC', 231 mandatory = ctx.options.enable_avcodec) 223 232 ctx.check_cfg(package = 'libavformat', atleast_version = '52.3.0', 224 args = '--cflags --libs', uselib_store = 'AVFORMAT', mandatory = False) 233 args = '--cflags --libs', uselib_store = 'AVFORMAT', 234 mandatory = ctx.options.enable_avcodec) 225 235 ctx.check_cfg(package = 'libavutil', atleast_version = '52.3.0', 226 args = '--cflags --libs', uselib_store = 'AVUTIL', mandatory = False) 236 args = '--cflags --libs', uselib_store = 'AVUTIL', 237 mandatory = ctx.options.enable_avcodec) 227 238 ctx.check_cfg(package = 'libavresample', atleast_version = '1.0.1', 228 args = '--cflags --libs', uselib_store = 'AVRESAMPLE', mandatory = False) 239 args = '--cflags --libs', uselib_store = 'AVRESAMPLE', 240 mandatory = ctx.options.enable_avcodec) 229 241 if all ( 'HAVE_' + i in ctx.env.define_key 230 242 for i in ['AVCODEC', 'AVFORMAT', 'AVUTIL', 'AVRESAMPLE'] ): … … 322 334 ctx.excl += ' **/python.old/*' 323 335 ctx.excl += ' **/python/tests/sounds' 336 ctx.excl += ' **/**.asc'
Note: See TracChangeset
for help on using the changeset viewer.