- Timestamp:
- Dec 10, 2013, 2:30:42 PM (11 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:
- ab41f5c
- Parents:
- eb99982
- Location:
- src/io
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/io/source.c
reb99982 r549928e 24 24 #include "fmat.h" 25 25 #include "io/source.h" 26 #ifdef HAVE_ AVCODEC26 #ifdef HAVE_LIBAV 27 27 #include "io/source_avcodec.h" 28 #endif /* HAVE_ AVCODEC*/28 #endif /* HAVE_LIBAV */ 29 29 #ifdef __APPLE__ 30 30 #include "io/source_apple_audio.h" … … 53 53 aubio_source_t * new_aubio_source(char_t * uri, uint_t samplerate, uint_t hop_size) { 54 54 aubio_source_t * s = AUBIO_NEW(aubio_source_t); 55 #if HAVE_ AVCODEC55 #if HAVE_LIBAV 56 56 s->source = (void *)new_aubio_source_avcodec(uri, samplerate, hop_size); 57 57 if (s->source) { … … 64 64 return s; 65 65 } 66 #endif /* HAVE_ AVCODEC*/66 #endif /* HAVE_LIBAV */ 67 67 #ifdef __APPLE__ 68 68 s->source = (void *)new_aubio_source_apple_audio(uri, samplerate, hop_size); -
src/io/source_avcodec.c
reb99982 r549928e 22 22 #include "config.h" 23 23 24 #ifdef HAVE_ AVCODEC24 #ifdef HAVE_LIBAV 25 25 26 26 #include <sndfile.h> … … 403 403 } 404 404 405 #endif /* HAVE_ SNDFILE*/405 #endif /* HAVE_LIBAV */
Note: See TracChangeset
for help on using the changeset viewer.