On May 16, 2016 3:25:48 PM PDT, David Griffith <dave@email-addr-hidden> 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@email-addr-hidden _______________________________________________ Linux-audio-dev mailing list Linux-audio-dev@email-addr-hidden http://lists.linuxaudio.org/listinfo/linux-audio-devReceived on Tue May 17 04:15:01 2016
This archive was generated by hypermail 2.1.8 : Tue May 17 2016 - 04:15:01 EEST