Struct rmus::decoders::flac::FlacDecoder[][src]

pub struct FlacDecoder { /* fields omitted */ }
Expand description

Decodes an Ogg Vorbis stream from a file

Implementations

Trait Implementations

Gets the total length of the stream in seconds.

Gets the next sample in the buffer. This has to be interleaved and, of course, buffered, so the channels are in backwards order. This is because interleaved is probably faster than iterating through Vec<VecDeque> and having the samples buffered ensures that no underrun occurs. Read more

Gets the sample rate.

Gets the number of channels in the source.

Jumps to a certain location in the file. The position is to be handled in number of samples. 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.