Expand description
Analyze raw Opus packets.
Structs§
- Packet
- A parsed Opus packet, retuned from
parse
.
Functions§
- get_
bandwidth - Get the bandwidth of an Opus packet.
- get_
nb_ channels - Get the number of channels from an Opus packet.
- get_
nb_ frames - Get the number of frames in an Opus packet.
- get_
nb_ samples - Get the number of samples of an Opus packet.
- get_
samples_ per_ frame - Get the number of samples per frame from an Opus packet.
- pad
- Pad a given Opus packet to a larger size.
- parse
- Parse an Opus packet into one or more frames.
- unpad
- Remove all padding from a given Opus packet and rewrite the TOC sequence to minimize space usage.