[][src]Module audiopus::packet

Structs

MutPacket

A newtype around &mut [u8] to guarantee that accessing length on the underlying buffer is checked each time.

Packet

A newtype around &[u8] to guarantee:

Functions

bandwidth

Gets width of an Opus packet.

nb_channels
nb_samples

Gets number of frames in an Opus packet.

samples_per_frame

Gets number of samples per frame of an Opus packet.