Crate opus2

Crate opus2 

Source
Expand description

High-level bindings for libopus.

Only brief descriptions are included here. For detailed information, consult the libopus documentation.

Modules§

packet
Analyze raw Opus packets.

Structs§

Decoder
An Opus decoder with associated state.
Encoder
An Opus encoder with associated state.
Error
An error generated by the Opus library.
MSDecoder
Decode packets into many Opus streams, up to 255.
MSEncoder
Combine individual Opus streams in a single packet, up to 255 channels.
Repacketizer
A repacketizer used to merge together or split apart multiple Opus packets.
RepacketizerState
An in-progress repacketization.
SoftClip
Soft-clipping to bring a float signal within the [-1,1] range.
SurroundEncoder
A surround sound multistream encoder with its configuration.

Enums§

Application
The possible applications for the codec.
Bandwidth
The available bandwidth level settings.
Bitrate
Possible bitrates.
Channels
The available channel setings.
ErrorCode
Possible error codes.
FrameSize
Possible frame sizes. Controls encoder’s use of variable duration frames.
Signal
Possible signal types. Hints for the encoder’s mode selection.

Functions§

version
Get the libopus version string.

Type Aliases§

Result
Opus error Result alias.