ref: fff7b92ffe9dd9d37d27aaf681af8572588c735b
parent: 6f673611be972f56225c4fa902477c51e3b54025
author: Paul Brossier <piem@piem.org>
date: Mon Jul 9 11:35:09 EDT 2012
examples/sndfileio.h: add read_mono
--- a/examples/sndfileio.h
+++ b/examples/sndfileio.h
@@ -46,9 +46,13 @@
*/
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
*/