From: Paul Brossier Date: Mon, 9 Jul 2012 22:35:09 +0000 (-0700) Subject: examples/sndfileio.h: add read_mono X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fff7b92ffe9dd9d37d27aaf681af8572588c735b;p=aubio.git examples/sndfileio.h: add read_mono --- diff --git a/examples/sndfileio.h b/examples/sndfileio.h index cfa3d547..a6971887 100644 --- a/examples/sndfileio.h +++ b/examples/sndfileio.h @@ -46,9 +46,13 @@ aubio_sndfile_t * new_aubio_sndfile_wo(aubio_sndfile_t * existingfile, const cha */ int aubio_sndfile_open_wo (aubio_sndfile_t * file, const char * outputname); /** - * Read frames data from file + * Read frames data from file into an array of buffers */ int aubio_sndfile_read(aubio_sndfile_t * file, int frames, fvec_t ** read); +/** + * Read frames data from file into a single buffer + */ +int aubio_sndfile_read_mono (aubio_sndfile_t * f, int frames, fvec_t * read); /** * Write data of length frames to file */