[][src]Struct fdk_aac_sys::AACENC_InfoStruct

#[repr(C)]pub struct AACENC_InfoStruct {
    pub maxOutBufBytes: UINT,
    pub maxAncBytes: UINT,
    pub inBufFillLevel: UINT,
    pub inputChannels: UINT,
    pub frameLength: UINT,
    pub nDelay: UINT,
    pub nDelayCore: UINT,
    pub confBuf: [UCHAR; 64],
    pub confSize: UINT,
}

Provides some info about the encoder configuration.

Fields

maxOutBufBytes: UINT

< Maximum number of encoder bitstream bytes within one frame. Size depends on maximum number of supported channels in encoder instance. For superframing (as used for example in DAB+), size has to be a multiple accordingly.

maxAncBytes: UINT

< Maximum number of ancillary data bytes which can be inserted into bitstream within one frame.

inBufFillLevel: UINT

< Internal input buffer fill level in samples per channel. This parameter will automatically be cleared if samplingrate or channel(Mode/Order) changes.

inputChannels: UINT

< Number of input channels expected in encoding process.

frameLength: UINT

< Amount of input audio samples consumed each frame per channel, depending on audio object type configuration.

nDelay: UINT

< Codec delay in PCM samples/channel. Depends on framelength and AOT. Does not include framing delay for filling up encoder PCM input buffer.

nDelayCore: UINT

< Codec delay in PCM samples/channel, w/o delay caused by the decoder SBR module. This delay is needed to correctly write edit lists for gapless playback. The decoder may not know how much delay is introdcued by SBR, since it may not know if SBR is active at all (implicit signaling), therefore the deocder must take into account any delay caused by the SBR module.

confBuf: [UCHAR; 64]

< Configuration buffer in binary format as an AudioSpecificConfig or StreamMuxConfig according to the selected transport type.

confSize: UINT

< Number of valid bytes in confBuf.

Trait Implementations

impl Clone for AACENC_InfoStruct[src]

impl Copy for AACENC_InfoStruct[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.