[][src]Struct fdk_aac_sys::CODER_CONFIG

#[repr(C)]pub struct CODER_CONFIG {
    pub aot: AUDIO_OBJECT_TYPE,
    pub extAOT: AUDIO_OBJECT_TYPE,
    pub channelMode: CHANNEL_MODE,
    pub channelConfigZero: UCHAR,
    pub samplingRate: INT,
    pub extSamplingRate: INT,
    pub downscaleSamplingRate: INT,
    pub bitRate: INT,
    pub samplesPerFrame: c_int,
    pub noChannels: c_int,
    pub bitsFrame: c_int,
    pub nSubFrames: c_int,
    pub BSACnumOfSubFrame: c_int,
    pub BSAClayerLength: c_int,
    pub flags: UINT,
    pub matrixMixdownA: UCHAR,
    pub headerPeriod: UCHAR,
    pub stereoConfigIndex: UCHAR,
    pub sbrMode: UCHAR,
    pub sbrSignaling: SBR_PS_SIGNALING,
    pub rawConfig: [UCHAR; 64],
    pub rawConfigBits: c_int,
    pub sbrPresent: UCHAR,
    pub psPresent: UCHAR,
}

Generic audio coder configuration structure.

Fields

aot: AUDIO_OBJECT_TYPE

< Audio Object Type (AOT).

extAOT: AUDIO_OBJECT_TYPE

< Extension Audio Object Type (SBR).

channelMode: CHANNEL_MODE

< Channel mode.

channelConfigZero: UCHAR

< Use channel config zero + pce although a standard channel config could be signaled.

samplingRate: INT

< Sampling rate.

extSamplingRate: INT

< Extended samplerate (SBR).

downscaleSamplingRate: INT

< Downscale sampling rate (ELD downscaled mode)

bitRate: INT

< Average bitrate.

samplesPerFrame: c_int

< Number of PCM samples per codec frame and audio channel.

noChannels: c_int

< Number of audio channels.

bitsFrame: c_intnSubFrames: c_int

< Amount of encoder subframes. 1 means no subframing.

BSACnumOfSubFrame: c_int

< The number of the sub-frames which are grouped and transmitted in a super-frame (BSAC).

BSAClayerLength: c_int

< The average length of the large-step layers in bytes (BSAC).

flags: UINT

< flags

matrixMixdownA: UCHAR

< Matrix mixdown index to put into PCE. Default value 0 means no mixdown coefficient, valid values are 1-4 which correspond to matrix_mixdown_idx 0-3.

headerPeriod: UCHAR

< Frame period for sending in band configuration buffers in the transport layer.

stereoConfigIndex: UCHAR

< USAC MPS stereo mode

sbrMode: UCHAR

< USAC SBR mode

sbrSignaling: SBR_PS_SIGNALING

< 0: implicit signaling, 1: backwards compatible explicit signaling, 2: hierarcical explicit signaling

rawConfig: [UCHAR; 64]

< raw codec specific config as bit stream

rawConfigBits: c_int

< Size of rawConfig in bits

sbrPresent: UCHARpsPresent: UCHAR

Trait Implementations

impl Clone for CODER_CONFIG[src]

impl Copy for CODER_CONFIG[src]

Auto Trait Implementations

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