Expand description
High level bindings to libopus
Target version 1.5.2
§Allocator
This library uses Rust’s allocator whenever possible
§Features
bundled- Enables use of bundled OPUS code to build static library. Enabled by default. Refer to opusic-sys for detailsdred- Enables experimental DRED decoder. Disabled by default.osce- Enables OSCE. Disabled by default.no-hardening- disable run-time checks that are cheap and safe for use in production. Disabled by default.no-stack-protector= disable stack protection. Disabled by default.no-fortify-source- disable protection against buffer overflows. Disabled by default.
Re-exports§
pub use opusic_sys as sys;
Modules§
- dred
- DRED decoder
- multistream
- The multistream API allows individual Opus streams to be combined into a single packet, enabling support for up to 255 channels
- repacketizer
- Opus packet manipulation
- utils
- Utility functions
Structs§
Enums§
- Application
- Coding mode
- Bandwidth
- The available bandwidth level settings.
- Bitrate
- Codec’s bitrate configuration
- Channels
- Number of channels
- Error
Code - Underlying libopus error codes
- Frame
Duration - Frame duration configuration values
- Inband
Fec - Possible values of inband forward error correction configuration.
- Sample
Rate - Possible sample rates to use
- Signal
- Signal type
Functions§
- frame_
bytes_ size - Computes OPUS frame size in bytes for specified duration
- version
- Returns libopus version