From fff7b92ffe9dd9d37d27aaf681af8572588c735b Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Mon, 9 Jul 2012 15:35:09 -0700 Subject: [PATCH] examples/sndfileio.h: add read_mono --- examples/sndfileio.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 */ -- 2.26.2