Could you add a method that returns the maximum delay in samples of the DelayLine?
int getMaximumDelayInSamples() const
{
return totalSize - 1;
}
btw the totalSize member could be made const as it is set at construction and can’t change afterwards.
