From ae9fd9012931f46f56443ea751bcdbb6b1cce359 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Thu, 21 Mar 2013 20:31:41 -0500 Subject: [PATCH] src/io/source*: add _do_multi and _get_channels, really downmix apple_audio --- src/io/source_sndfile.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/io/source_sndfile.h b/src/io/source_sndfile.h index 8dd10ac9..dbdb3315 100644 --- a/src/io/source_sndfile.h +++ b/src/io/source_sndfile.h @@ -72,6 +72,20 @@ aubio_source_sndfile_t * new_aubio_source_sndfile(char_t * uri, uint_t samplerat */ void aubio_source_sndfile_do(aubio_source_sndfile_t * s, fvec_t * read_to, uint_t * read); +/** + + 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 -- 2.26.2