On May 16, 2016 3:25:48 PM PDT, David Griffith <dave(a)661.org> wrote:
Earlier you set up filebuffer like this:
buflen = BUFFSIZE * sf_info[0].channels;
filebuffer = malloc(buflen * sizeof(float));
The size of filebuffer is BUFFSIZE float-sized frames. Therefore when
you
specify BUFFSIZE as the number of floats to read, they all fit in
filebuffer.
Sorry. I meant BUFFSIZE as the number of /frames/.
--
David Griffith
dave(a)661.org