A feature that would be useful for random-access-type applications is a way to answer the question: how many samples do I need to put in to get out n samples? (Or, alternately: if I put in n samples, how many will I get out?) Obviously, it is possible to estimate this from the sample rate ratio, but I think src has some internal buffering, so I would need to account for that with some slop—how much? Overestimating will needlessly add latency.
Hi,
A feature that would be useful for random-access-type applications is a way to answer the question: how many samples do I need to put in to get out n samples? (Or, alternately: if I put in n samples, how many will I get out?) Obviously, it is possible to estimate this from the sample rate ratio, but I think src has some internal buffering, so I would need to account for that with some slop—how much? Overestimating will needlessly add latency.