Expand description
Raw PCM conversion, including G.711 A-law and µ-law.
Functions§
- decode_
alaw - decode_
pcm - decode_
ulaw - encode_
alaw - encode_
pcm - encode_
pcm_ with_ dither - Encode interleaved PCM with optional seeded noise at the final integer quantizer.
The seed restarts on each call. For chunked input, use
crate::stream::PcmEncoder::with_ditherto retain its state across chunks. Float and G.711 samples reject enabled dither withcrate::ErrorCode::InvalidArgument. - encode_
ulaw