AudioCallback Buffer Size

I was wondering what the value is for the “size” argument of the AudioCallBack function and what determines this value.


  • Egg

It specifies the number of samples in the audio buffers. It is determined by the setup code that initializes the audio system, take a look at libDaisy/src/daisy_seed.cpp:230-232

1 Like

Thanks! Just what I was looking for! I see that the buffer size is 48, which, I’m guessing, was done so that the buffer holds exactly 1 ms at a 48kHz sample rate.

1 Like