Re-exports§
pub use error::CodecError;pub use resampler::Resampler;pub use resampler::BoxedResampler;pub use resampler::resample;
Modules§
- error
- g722
- g729
- opus
- pcma
- pcmu
- resampler
- Default polyphase resampler (f32 core, exact integer timing). Default polyphase FIR resampler (f32 core, exact integer timing).
- resampler_
fixed - Alternative polyphase resampler with a Q15 fixed-point core, for targets
without an FPU. Not the default; use
resamplerunless you need it. - telephone_
event - RFC 4733 telephone-event (DTMF) payload helpers.
Enums§
Traits§
- Decoder
- Decoder trait: converts codec-specific bytes into PCM samples.
- Encoder
- Encoder trait: converts PCM samples into codec-specific bytes.
Functions§
- bytes_
to_ samples - bytes_
to_ samples_ into - Decode the little-endian bytes into
outasSample(i16) values. - create_
decoder - create_
encoder - create_
opus_ decoder - create_
opus_ encoder - samples_
to_ bytes - samples_
to_ bytes_ into - Write the little-endian byte representation of
samplesintoout.