- Timestamp:
- Jan 7, 2012, 3:51:20 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:
- e43464c
- Parents:
- 1081580
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/utils.c
r1081580 r9430dfd 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)
Note: See TracChangeset
for help on using the changeset viewer.