Open
Description
It'd be very helpful to know the transport delay that a given converter at a given ratio exhibits.
I'd suggest a function like:
/*
** Calculate the transport delay (number of samples that are buffered
** on average) that a given converter exhibits, when resampling at the
** specified SRC ratio.
** Returns the transport delay, measured in output samples.
*/
double src_get_delay (int converter_type, double src_ratio) ;
For the linear and ZOH converters the calculation is very easy (something along 1 + 1/src_ratio
if I recall correctly), but I'm not able to come up with an expression for the sinc converters (which are perhaps the most interesting cases, where the transport delay is significant).
Metadata
Metadata
Assignees
Labels
No labels