Skip to main content

speech_prep/decoder/
mod.rs

1//! Audio decoding, resampling, and channel mixing utilities.
2//!
3//! This module exposes the decoding pipeline used by the audio processing pipeline:
4//! WAV/PCM parsing (`WavDecoder`), linear resampling
5//! (`SampleRateConverter`), and channel mixing (`ChannelMixer`). Samples are
6//! normalized to the range [-1.0, 1.0] and converted to mono/16kHz.
7
8mod mixer;
9mod resampler;
10mod types;
11mod wav;
12
13pub use mixer::ChannelMixer;
14pub use resampler::SampleRateConverter;
15pub use types::{DecodedAudio, MixedAudio};
16pub use wav::WavDecoder;