[LAD] mixing while using libao and libsndfile
    David Griffith 
    dave at 661.org
       
    Tue May 17 00:50:24 UTC 2016
    
    
  
On May 16, 2016 3:25:48 PM PDT, David Griffith <dave at 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 at 661.org
    
    
More information about the Linux-audio-dev
mailing list