Create a linear resampler.
Input sample rate in Hz.
Output sample rate in Hz.
Resample the final chunk of audio and flush internal buffers.
This is the same as resample but sets flush=1 so that any remaining samples buffered inside the resampler are emitted. Call this once after the last chunk of input audio.
The final chunk of input audio samples.
Resampled audio samples including buffered tail.
Get the input sample rate.
Input sample rate in Hz.
Get the output sample rate.
Output sample rate in Hz.
Resample a chunk of audio samples.
Call this for each chunk of input audio. For the final chunk, call flush instead so that any internally buffered samples are emitted.
Input audio samples.
Resampled audio samples.
Reset the resampler to its initial state, discarding any internal buffered samples.
A linear resampler that converts audio from one sample rate to another.