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 for
7//! downstream processing.
8
9mod mixer;
10mod resampler;
11mod types;
12mod wav;
13
14pub use mixer::ChannelMixer;
15pub use resampler::SampleRateConverter;
16pub use types::{DecodedAudio, MixedAudio};
17pub use wav::WavDecoder;