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