Changes in / [e43464c:8b3a7e7]
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
configure.ac
re43464c r8b3a7e7 154 154 fi 155 155 156 AC_ARG_ENABLE(sndfile, 157 AC_HELP_STRING([--enable-sndfile],[compile with sndfile [[default=auto]]]), 158 [with_sndfile=$enableval], 159 with_sndfile="yes") 160 if test "$with_sndfile" = "yes"; then 161 PKG_CHECK_MODULES(SNDFILE, sndfile >= 1.0.4, HAVE_SNDFILE=1, HAVE_SNDFILE=0) 162 if test "${HAVE_SNDFILE}" = "1"; then 163 AC_DEFINE(HAVE_SNDFILE,1,[Define to enable libsndfile support]) 164 fi 156 PKG_CHECK_MODULES(SNDFILE, sndfile >= 1.0.4, HAVE_SNDFILE=1) 157 if test "${HAVE_SNDFILE}" = "1"; then 158 AC_DEFINE(HAVE_SNDFILE,1,[Define to enable libsndfile support]) 165 159 fi 166 160 -
examples/sndfileio.c
re43464c r8b3a7e7 18 18 19 19 */ 20 21 #ifdef HAVE_SNDFILE22 20 23 21 #include <string.h> … … 250 248 } 251 249 252 #endif /* HAVE_SNDFILE */ -
examples/utils.c
re43464c r8b3a7e7 19 19 */ 20 20 21 /** 21 /** 22 22 23 23 This file includes some tools common to all examples. Code specific to the … … 64 64 65 65 66 #ifdef HAVE_SNDFILE67 66 aubio_sndfile_t *file = NULL; 68 67 aubio_sndfile_t *fileout = NULL; 69 #else70 void *file = NULL;71 void *fileout = NULL;72 #endif73 68 74 69 fvec_t *ibuf; … … 202 197 } 203 198 204 #ifdef HAVE_SNDFILE205 206 199 void 207 200 examples_common_init (int argc, char **argv) … … 266 259 } 267 260 268 #else /* HAVE_SNDFILE */269 270 void271 examples_common_init (int argc, char **argv)272 {273 outmsg ("Error, compiled without sndfile, nothing to do for now!\n");274 }275 276 277 #endif /* HAVE_SNDFILE */278 279 261 280 262 void … … 291 273 aubio_jack_t *jack_setup; 292 274 #endif 293 294 #if HAVE_SNDFILE295 275 296 276 void … … 341 321 } 342 322 343 #else /* HAVE_SNDFILE */344 345 void346 examples_common_process (aubio_process_func_t process_func,347 aubio_print_func_t print)348 {349 }350 351 #endif /* HAVE_SNDFILE */352 353 323 void 354 324 flush_process (aubio_process_func_t process_func, aubio_print_func_t print) -
tests/src/Makefile.am
re43464c r8b3a7e7 6 6 7 7 bin_PROGRAMS = \ 8 test-fft \ 8 9 test-hist \ 9 10 test-scale \ … … 27 28 test-pitchmcomb \ 28 29 test-pitch \ 30 test-beattracking \ 29 31 test-onset \ 32 test-tempo \ 30 33 test-mathutils \ 31 34 test-tss
Note: See TracChangeset
for help on using the changeset viewer.