Resamples mono audio with linear interpolation.
Only used when an ingest source deviates from the pipeline's 16 kHz contract.
Input samples in [-1, 1].
[-1, 1]
Input sample rate in Hz.
Desired sample rate in Hz.
Resampled samples, or the input when the rates already match.
Resamples mono audio with linear interpolation.
Only used when an ingest source deviates from the pipeline's 16 kHz contract.