pub struct AudioEncoderBuilder { /* private fields */ }
Expand description

Builder for the audio encoder.

Implementations§

Set an encoder option.

Set encoder bit rate. The default is 0 (i.e. automatic).

Set encoder time base. The default time base is in microseconds.

Set audio sample format.

Set sampling rate.

Set channel layout.

Build the encoder.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.