[][src]Enum gstreamer_audio::AudioRingBufferFormatType

#[non_exhaustive]pub enum AudioRingBufferFormatType {
    Raw,
    MuLaw,
    ALaw,
    ImaAdpcm,
    Mpeg,
    Gsm,
    Iec958,
    Ac3,
    Eac3,
    Dts,
    Mpeg2Aac,
    Mpeg4Aac,
    Mpeg2AacRaw,
    Mpeg4AacRaw,
    Flac,
    // some variants omitted
}

The format of the samples in the ringbuffer.

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Raw

samples in linear or float

MuLaw

samples in mulaw

ALaw

samples in alaw

ImaAdpcm

samples in ima adpcm

Mpeg

samples in mpeg audio (but not AAC) format

Gsm

samples in gsm format

Iec958

samples in IEC958 frames (e.g. AC3)

Ac3

samples in AC3 format

Eac3

samples in EAC3 format

Dts

samples in DTS format

Mpeg2Aac

samples in MPEG-2 AAC ADTS format

Mpeg4Aac

samples in MPEG-4 AAC ADTS format

Mpeg2AacRaw

samples in MPEG-2 AAC raw format (Since: 1.12)

Mpeg4AacRaw

samples in MPEG-4 AAC raw format (Since: 1.12)

Flac

samples in FLAC format (Since: 1.12)

Trait Implementations

impl Clone for AudioRingBufferFormatType[src]

impl Copy for AudioRingBufferFormatType[src]

impl Debug for AudioRingBufferFormatType[src]

impl Eq for AudioRingBufferFormatType[src]

impl<'a> FromValue<'a> for AudioRingBufferFormatType[src]

impl<'a> FromValueOptional<'a> for AudioRingBufferFormatType[src]

impl Hash for AudioRingBufferFormatType[src]

impl Ord for AudioRingBufferFormatType[src]

impl PartialEq<AudioRingBufferFormatType> for AudioRingBufferFormatType[src]

impl PartialOrd<AudioRingBufferFormatType> for AudioRingBufferFormatType[src]

impl SetValue for AudioRingBufferFormatType[src]

impl StaticType for AudioRingBufferFormatType[src]

impl StructuralEq for AudioRingBufferFormatType[src]

impl StructuralPartialEq for AudioRingBufferFormatType[src]

Auto Trait Implementations

impl RefUnwindSafe for AudioRingBufferFormatType

impl Send for AudioRingBufferFormatType

impl Sync for AudioRingBufferFormatType

impl Unpin for AudioRingBufferFormatType

impl UnwindSafe for AudioRingBufferFormatType

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.