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

Builder for the audio resampler.

Implementations§

Set source channel layout.

Set source sample format.

Set source sample rate.

Set target channel layout.

Set target sample format.

Set target sample rate.

Set the expected number of samples in target frames (for fixed frame size codecs).

Build the resampler.

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.