Module resample

Module resample 

Source
Expand description

Resampling utilities for audio processing.

Provides functionality to resample audio data to target sample rates and formats, ensuring compatibility with the VAD processing pipeline.

Audio resampling utilities using the rubato crate. Supports i16 <-> f32 conversion and multi-channel processing.

Functionsยง

resample_to_target_rate
Resample i16 mono audio to the target sample rate (returns Vec<i16>).