ref: ae9fd9012931f46f56443ea751bcdbb6b1cce359
parent: 4865e4b220200bd82eac01c42a57c3386f05ed0f
author: Paul Brossier <piem@piem.org>
date: Thu Mar 21 16:31:41 EDT 2013
src/io/source*: add _do_multi and _get_channels, really downmix apple_audio
--- a/src/io/source_sndfile.h
+++ b/src/io/source_sndfile.h
@@ -74,6 +74,20 @@
/**
+ read polyphonic vector of length hop_size from source object
+
+ \param s source object, created with ::new_aubio_source_sndfile
+ \param read_to ::fmat_t of data to read to
+ \param read upon returns, equals to number of frames actually read
+
+ Upon returns, `read` contains the number of frames actually read from the
+ source. `hop_size` if enough frames could be read, less otherwise.
+
+*/
+void aubio_source_sndfile_do(aubio_source_sndfile_t * s, fmat_t * read_to, uint_t * read);
+
+/**
+
get samplerate of source object
\param s source object, created with ::new_aubio_source_sndfile