Expand description
Minimal WAV (PCM i16 / f32 LE) cold decoder — no external codec crate.
Structs§
- Decoded
Wav - WavStream
- A seekable, bounded RIFF/WAVE PCM source. The owner must supply a stable, authorized reader whose range begins at its current position and remains unchanged for this object’s lifetime. Parsing does not establish authority, provenance, or integrity. Reads use a caller-provided byte buffer.
Functions§
- decode_
wav - Parse a complete WAV file from bytes.
- encode_
wav_ i16_ mono - Encode mono i16 LE as a minimal WAV into
out. Returns bytes written.