pub struct WavDecoder<T: Seek + Read + Send + 'static> { /* private fields */ }
Expand description

A SourceSource, from wav encoded sound data.

Implementations

Create a new WavDecoder from the given .wav data.

Trait Implementations

Start the sound from the begining

Return the number of channels

return the sample rate

Write the samples to the buffer. 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.