From: Paul Brossier Date: Fri, 22 Mar 2013 01:31:41 +0000 (-0500) Subject: src/io/source*: add _do_multi and _get_channels, really downmix apple_audio X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ae9fd9012931f46f56443ea751bcdbb6b1cce359;p=aubio.git src/io/source*: add _do_multi and _get_channels, really downmix apple_audio --- 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