logo
pub struct AudioSink<'a, Chan: Channel, const CH: usize> { /* private fields */ }
Expand description

Returned from Audio::sink().

Trait Implementations

Formats the value using the given formatter. Read more

Get the sample rate of the sink in hertz.

Get the length of the sink in frames. Read more

Sink audio samples from a frame iterator. Read more

Check if the sink is empty (length of zero).

Get the sample rate of the sink in hertz.

Get the length of the sink in frames. Read more

Sink audio samples from a frame iterator. Read more

Check if the sink is empty (length of zero).

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.