From this code in JuceDemo
void pushSample (const float newSample)
{
accumulator += newSample;
if (subSample == 0)
{
const int inputSamplesPerPixel = 200;
samples[nextSample] = accumulator / inputSamplesPerPixel;
nextSample = (nextSample + 1) % numElementsInArray (samples);
subSample = inputSamplesPerPixel;
accumulator = 0;
}
else
{
--subSample;
}
}
and i have no idea that What is the functionality of the parameter named subSample ?
