From 8122e54ad1a17377db3662878d2f5ff515d15201 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sat, 7 Dec 2013 22:26:40 -0500 Subject: [PATCH] src/io/source.h: add a note about the different libraries --- src/io/source.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/src/io/source.h b/src/io/source.h index e47a2a8c..bcc09750 100644 --- a/src/io/source.h +++ b/src/io/source.h @@ -25,8 +25,31 @@ Media source to read blocks of consecutive audio samples from file + Depending on how aubio was compiled, the following file formats will be + available. + To write to file, use ::aubio_sink_t. + \b \p source_avcodec : libav + + aubio can be optionally compiled with [libav](http://libav.org), which can + read from a very large number of audio and video formats, including over + different network protocols such as HTTP. + + \b \p source_apple_audio : ExtAudioFileRef + + On Mac and iOS platforms, aubio should be compiled with CoreAudio [Extended + Audio File Services] + (https://developer.apple.com/library/mac/documentation/musicaudio/CAAudioTooboxRef/_index.html). + This provides access to most common audio file formats, including compressed + ones. + + \b \p source_sndfile : libsndfile + + Also optional, aubio can be built against + [libsndfile](http://www.mega-nerd.com/libsndfile/), which can read [most + uncompressed formats](http://www.mega-nerd.com/libsndfile/#Features). + \example io/test-source.c \example io/test-source_multi.c -- 2.11.0