Struct alac::Reader [] [src]

pub struct Reader<R: Read + Seek> { /* fields omitted */ }

An ALAC reader and decoder supporting mp4 and caf files (if the respective Cargo features are enabled).

Methods

impl<R: Read + Seek> Reader<R>
[src]

[src]

Attempts to create a Reader from a seekable byte stream.

[src]

Returns the format of this ALAC file.

[src]

Returns a StreamInfo describing the ALAC stream in this file.

[src]

Returns an iterator over the samples in the ALAC stream.

Channels are interleaved, e.g. for a stereo stream they would be yielded in the order [left, right, left, right, ..].

[src]

Returns an iterator-like type that decodes packets into a user-provided buffer.