Expand description
Re-exports§
pub use mapping::Mapping;
Modules§
- mapping
- The OpusHead channel mapping table (RFC 7845 §5.1.1).
Structs§
- Config
- Typed Opus configuration mirroring the parsed fields of an OpusHead packet.
- Import
- Opus importer.
Enums§
- Error
- Opus parsing errors.
Constants§
- WARMUP
- The decoder pre-roll a joining Opus viewer discards, per RFC 7845 section 4.6.
Functions§
- config
- Build a catalog config from an OpusHead. Errors on a malformed or empty buffer.
- packet_
samples - Number of 48 kHz samples in an Opus packet, read from its TOC byte (RFC 6716 §3.1).
Type Aliases§
- Result
- A result using this module’s error type.