On May 16, 2016 3:25:48 PM PDT, David Griffith <[email protected]> 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 [email protected] _______________________________________________ Linux-audio-dev mailing list [email protected] http://lists.linuxaudio.org/listinfo/linux-audio-dev
