Struct vorbis::Decoder [] [src]

pub struct Decoder { /* fields omitted */ }

Low-level Vorbis decoder.

Decodes Vorbis audio packets into audio samples. Note the decoder works directly with Vorbis packet data extracted from container (like Ogg).

Example

See module reference.

Methods

impl Decoder
[src]

Decodes an audio packet. Note if this is the first audio packet (either for a newly initialized decoder instance or after a call to reset()) the returned samples will be empty.