AudioSampleBuffer numSamples


I'm refering to renderNextBlock method in SynthesizerVoice. It receives a buffer to fill that has a size that can be obtained with AudioSampleBuffer::getNumSamples().
So I'm wondering how and where numSamples is choosen. Is it related to sample rate ? 
I got numSamples=480 by doing a quick test with the JUCE synthesizer demo. Is it actually sample rate / 100 ?

grep prepareToPlay… the value will depend on the host’s buffer setting.


What do you mean ?

I think I didnt find what you wanted me to find.