[][src]Struct alac::Reader

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]

Attempts to create a Reader from a seekable byte stream.

Returns the format of this ALAC file.

Returns a StreamInfo describing the ALAC stream in this file.

Important traits for Samples<R, S>

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, ..].

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

Auto Trait Implementations

impl<R> Send for Reader<R> where
    R: Send

impl<R> Sync for Reader<R> where
    R: Sync

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

Performs the conversion.

impl<T> From for T
[src]

Performs the conversion.

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Borrow for T where
    T: ?Sized
[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut for T where
    T: ?Sized
[src]

Mutably borrows from an owned value. Read more

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more