- Timestamp:
- Aug 24, 2014, 7:24:07 PM (10 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:
- 6716024
- Parents:
- 450b4b4
- git-author:
- Paul Brossier <piem@piem.org> (03/27/14 19:56:11)
- git-committer:
- Paul Brossier <piem@piem.org> (08/24/14 19:24:07)
- Location:
- src/io
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
src/io/sink.c
r450b4b4 r331249b 24 24 #include "fmat.h" 25 25 #include "io/sink.h" 26 #ifdef __APPLE__26 #ifdef HAVE_SINK_APPLE_AUDIO 27 27 #include "io/sink_apple_audio.h" 28 #endif /* __APPLE__*/28 #endif /* HAVE_SINK_APPLE_AUDIO */ 29 29 #ifdef HAVE_SNDFILE 30 30 #include "io/sink_sndfile.h" … … 57 57 aubio_sink_t * new_aubio_sink(char_t * uri, uint_t samplerate) { 58 58 aubio_sink_t * s = AUBIO_NEW(aubio_sink_t); 59 #ifdef __APPLE__59 #ifdef HAVE_SINK_APPLE_AUDIO 60 60 s->sink = (void *)new_aubio_sink_apple_audio(uri, samplerate); 61 61 if (s->sink) { … … 70 70 return s; 71 71 } 72 #endif /* __APPLE__*/72 #endif /* HAVE_SINK_APPLE_AUDIO */ 73 73 #if HAVE_SNDFILE 74 74 s->sink = (void *)new_aubio_sink_sndfile(uri, samplerate); -
src/io/sink_apple_audio.c
r450b4b4 r331249b 21 21 #include "config.h" 22 22 23 #ifdef __APPLE__23 #ifdef HAVE_SINK_APPLE_AUDIO 24 24 25 25 #include "aubio_priv.h" … … 267 267 } 268 268 269 #endif /* __APPLE__*/269 #endif /* HAVE_SINK_APPLE_AUDIO */ -
src/io/source.c
r450b4b4 r331249b 27 27 #include "io/source_avcodec.h" 28 28 #endif /* HAVE_LIBAV */ 29 #ifdef __APPLE__29 #ifdef HAVE_SOURCE_APPLE_AUDIO 30 30 #include "io/source_apple_audio.h" 31 #endif /* __APPLE__*/31 #endif /* HAVE_SOURCE_APPLE_AUDIO */ 32 32 #ifdef HAVE_SNDFILE 33 33 #include "io/source_sndfile.h" … … 71 71 } 72 72 #endif /* HAVE_LIBAV */ 73 #ifdef __APPLE__73 #ifdef HAVE_SOURCE_APPLE_AUDIO 74 74 s->source = (void *)new_aubio_source_apple_audio(uri, samplerate, hop_size); 75 75 if (s->source) { … … 83 83 return s; 84 84 } 85 #endif /* __APPLE__*/85 #endif /* HAVE_SOURCE_APPLE_AUDIO */ 86 86 #if HAVE_SNDFILE 87 87 s->source = (void *)new_aubio_source_sndfile(uri, samplerate, hop_size); -
src/io/source_apple_audio.c
r450b4b4 r331249b 19 19 */ 20 20 21 #ifdef __APPLE__22 21 #include "config.h" 22 23 #ifdef HAVE_SOURCE_APPLE_AUDIO 24 23 25 #include "aubio_priv.h" 24 26 #include "fvec.h" … … 303 305 } 304 306 305 #endif /* __APPLE__*/307 #endif /* HAVE_SOURCE_APPLE_AUDIO */ -
src/io/utils_apple_audio.c
r450b4b4 r331249b 1 #ifdef __APPLE__ 1 #include "config.h" 2 3 #if defined(HAVE_SOURCE_APPLE_AUDIO) || defined(HAVE_SINK_APPLE_AUDIO) 2 4 3 5 // CFURLRef, CFURLCreateWithFileSystemPath, ... … … 53 55 } 54 56 55 #endif /* __APPLE__*/57 #endif /* defined(HAVE_SOURCE_APPLE_AUDIO) || defined(HAVE_SINK_APPLE_AUDIO) */
Note: See TracChangeset
for help on using the changeset viewer.