Enum caf::FormatType [] [src]

pub enum FormatType {
    LinearPcm,
    AppleIma4,
    Mpeg4Aac,
    Mace3,
    Mace6,
    Ulaw,
    Alaw,
    MpegLayer1,
    MpegLayer2,
    MpegLayer3,
    AppleLossless,
    Other(u32),
}

Payload format types defined by the spec

Enum for all the possible mFormatID field contents defined by the spec.

The spec explicitly says that the list is not exhaustive.

Variants

mFormatID for Linear PCM

mFormatID for IMA 4:1 ADPCM

mFormatID for MPEG-4 AAC

mFormatID for MACE 3:1

mFormatID for MACE 6:1

mFormatID for uLaw 2:1

mFormatID for aLaw 2:1

mFormatID for MPEG-1

mFormatID for MPEG-{1,2}

mFormatID for MPEG-{1,2,3}

mFormatID for Apple Lossless

Variant for all formats that were not mentioned in this list.

Trait Implementations

impl Debug for FormatType
[src]

Formats the value using the given formatter.

impl Clone for FormatType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for FormatType
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for FormatType
[src]

impl From<u32> for FormatType
[src]

Performs the conversion.