#[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, }
Expand description

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§

source§

impl Clone for AACENC_InfoStruct

source§

fn clone(&self) -> AACENC_InfoStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Copy for AACENC_InfoStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.