Struct opus::Encoder [] [src]

pub struct Encoder { /* fields omitted */ }

An Opus encoder with associated state.

Methods

impl Encoder
[src]

Create and initialize an encoder.

Encode an Opus frame.

Encode an Opus frame from floating point input.

Encode an Opus frame to a new buffer.

Encode an Opus frame from floating point input to a new buffer.

Reset the codec state to be equivalent to a freshly initialized state.

Get the final range of the codec's entropy coder.

Get the encoder's configured bandpass.

Get the samping rate the encoder was intialized with.

Set the encoder's bitrate.

Get the encoder's bitrate.

Configures the encoder's use of inband forward error correction (FEC).

Gets encoder's configured use of inband forward error correction.

Sets the encoder's expected packet loss percentage.

Gets the encoder's expected packet loss percentage.

Gets the total samples of delay added by the entire codec.

Trait Implementations

impl Drop for Encoder
[src]

A method called when the value goes out of scope. Read more