Struct fdk_aac_sys::CODER_CONFIG
source · #[repr(C)]pub struct CODER_CONFIG {Show 24 fields
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,
}
Expand description
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_int
§nSubFrames: 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: UCHAR
§psPresent: UCHAR
Trait Implementations§
source§impl Clone for CODER_CONFIG
impl Clone for CODER_CONFIG
source§fn clone(&self) -> CODER_CONFIG
fn clone(&self) -> CODER_CONFIG
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more