Class CoderConfig
- java.lang.Object
-
- com.sun.jna.Structure
-
- org.sheinbergon.aac.jna.structure.CoderConfig
-
public final class CoderConfig extends com.sun.jna.StructureMaps to CODER_CONFIG struct.- See Also:
- fdk-aac/libSYS/include/FDK_audio.h
-
-
Field Summary
Fields Modifier and Type Field Description intaotAudio Object Type (AOT).intbitRateAverage bitRate.intbitsFrameintBSAClayerLengthThe average length of the large-step layers in bytes (BSAC).intBSACnumOfSubFrameThe number of the sub-frames which are grouped and transmitted in a super-frame (BSAC).bytechannelConfigZeroUse channel config zero + pce although a standard channel config could be signaled.intchannelModeChannel mode.intdownscaleSamplingRateDownscale sampling rate (ELD downscaled mode).intextAOTExtension Audio Object Type (SBR).intextSamplingRateExtended samplerate (SBR).intflagsEncoding flags.byteheaderPeriodFrame period for sending in band configuration buffers in the transport layer.bytematrixMixdownAMatrix mixdown index to put into PCE.intnoChannelsNumber of audio channels.intnSubFramesAmount of encoder subframes.bytepsPresentbyte[]rawConfigRaw codec specific config as bit stream.intrawConfigBitsSize of rawConfig in bits.intsamplesPerFrameNumber of PCM samples per codec frame and audio channel.intsamplingRateSampling rate.bytesbrModeUSAC SBR mode.bytesbrPresentintsbrSignaling0: implicit signaling, 1: backwards compatible explicit signaling, 2: hierarcical explicit signaling.bytestereoConfigIndexUSAC MPS stereo mode.
-
Constructor Summary
Constructors Constructor Description CoderConfig()AAC Coder Config instantiation, disabling memory allocation alignment.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<java.lang.String>getFieldOrder()-
Methods inherited from class com.sun.jna.Structure
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
-
-
-
-
Field Detail
-
aot
public int aot
Audio Object Type (AOT).
-
extAOT
public int extAOT
Extension Audio Object Type (SBR).
-
channelMode
public int channelMode
Channel mode.
-
channelConfigZero
public byte channelConfigZero
Use channel config zero + pce although a standard channel config could be signaled.
-
samplingRate
public int samplingRate
Sampling rate.
-
extSamplingRate
public int extSamplingRate
Extended samplerate (SBR).
-
downscaleSamplingRate
public int downscaleSamplingRate
Downscale sampling rate (ELD downscaled mode).
-
bitRate
public int bitRate
Average bitRate.
-
samplesPerFrame
public int samplesPerFrame
Number of PCM samples per codec frame and audio channel.
-
noChannels
public int noChannels
Number of audio channels.
-
bitsFrame
public int bitsFrame
-
nSubFrames
public int nSubFrames
Amount of encoder subframes. 1 means no subframing.
-
BSACnumOfSubFrame
public int BSACnumOfSubFrame
The number of the sub-frames which are grouped and transmitted in a super-frame (BSAC).
-
BSAClayerLength
public int BSAClayerLength
The average length of the large-step layers in bytes (BSAC).
-
flags
public int flags
Encoding flags.
-
matrixMixdownA
public byte matrixMixdownA
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
public byte headerPeriod
Frame period for sending in band configuration buffers in the transport layer.
-
stereoConfigIndex
public byte stereoConfigIndex
USAC MPS stereo mode.
-
sbrMode
public byte sbrMode
USAC SBR mode.
-
sbrSignaling
public int sbrSignaling
0: implicit signaling, 1: backwards compatible explicit signaling, 2: hierarcical explicit signaling.
-
rawConfig
public byte[] rawConfig
Raw codec specific config as bit stream.
-
rawConfigBits
public int rawConfigBits
Size of rawConfig in bits.
-
sbrPresent
public byte sbrPresent
-
psPresent
public byte psPresent
-
-