Changeset e43464c
- Timestamp:
- Jan 7, 2012, 3:53:32 AM (13 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, pitchshift, sampler, timestretch, yinfft+
- Children:
- 466a5da
- Parents:
- 8b3a7e7 (diff), 9430dfd (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:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
configure.ac
r8b3a7e7 re43464c 154 154 fi 155 155 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]) 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 159 165 fi 160 166 -
examples/sndfileio.c
r8b3a7e7 re43464c 18 18 19 19 */ 20 21 #ifdef HAVE_SNDFILE 20 22 21 23 #include <string.h> … … 248 250 } 249 251 252 #endif /* HAVE_SNDFILE */ -
examples/utils.c
r8b3a7e7 re43464c 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_SNDFILE 66 67 aubio_sndfile_t *file = NULL; 67 68 aubio_sndfile_t *fileout = NULL; 69 #else 70 void *file = NULL; 71 void *fileout = NULL; 72 #endif 68 73 69 74 fvec_t *ibuf; … … 197 202 } 198 203 204 #ifdef HAVE_SNDFILE 205 199 206 void 200 207 examples_common_init (int argc, char **argv) … … 259 266 } 260 267 268 #else /* HAVE_SNDFILE */ 269 270 void 271 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 261 279 262 280 void … … 273 291 aubio_jack_t *jack_setup; 274 292 #endif 293 294 #if HAVE_SNDFILE 275 295 276 296 void … … 321 341 } 322 342 343 #else /* HAVE_SNDFILE */ 344 345 void 346 examples_common_process (aubio_process_func_t process_func, 347 aubio_print_func_t print) 348 { 349 } 350 351 #endif /* HAVE_SNDFILE */ 352 323 353 void 324 354 flush_process (aubio_process_func_t process_func, aubio_print_func_t print) -
tests/src/Makefile.am
r8b3a7e7 re43464c 6 6 7 7 bin_PROGRAMS = \ 8 test-fft \9 8 test-hist \ 10 9 test-scale \ … … 28 27 test-pitchmcomb \ 29 28 test-pitch \ 30 test-beattracking \31 29 test-onset \ 32 test-tempo \33 30 test-mathutils \ 34 31 test-tss
Note: See TracChangeset
for help on using the changeset viewer.