logo

Struct fon::Stream

source · []
pub struct Stream<const CH: usize> { /* private fields */ }
Expand description

Stream resampler.

Implementations

Create a new stream at target sample rate.

Flush audio to sink and end stream.

Pipe audio through this stream, and out to the sink.

If the sink gets full, then no more audio will be written. If there is not enough audio then the sink chooses whether or not to fill the rest of it’s buffer with silence.

Trait Implementations

Formats the value using the given formatter. 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

Performs the conversion.

Performs the conversion.

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.