pub struct Context { /* private fields */ }

Implementations

Create a resampler with the given definitions.

Create a resampler with the given definitions and custom options dictionary.

Get the input definition.

Get the output definition.

Get the remaining delay.

Run the resampler from the given input to the given output.

When there are internal frames to process it will return Ok(Some(Delay { .. })).

Convert one of the remaining internal frames.

When there are no more internal frames Ok(None) will be returned.

Trait Implementations

Executes the destructor for this type. Read more

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.