Expand description
Audio resampling utilities.
Provides sample rate conversion between codec rates (typically 8kHz) and device rates (typically 44.1kHz or 48kHz).
Functionsยง
- f32_
to_ i16 - Convert f32 samples (-1.0 to 1.0) to i16 samples.
- i16_
to_ f32 - Convert i16 samples to f32 samples (-1.0 to 1.0).
- resample_
linear - Resample audio from one sample rate to another using linear interpolation.
- resample_
linear_ i16 - Resample i16 PCM audio from one sample rate to another.