Class CoderConfig
- java.lang.Object
-
- com.sun.jna.Structure
-
- org.sheinbergon.aac.jna.structure.CoderConfig
-
public class CoderConfig extends com.sun.jna.StructureMaps to CODER_CONFIG struct in @see 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).intchannelModeChannel mode.intextAOTExtension Audio Object Type (SBR).intextSamplingRateExtended samplerate (SBR).intflagsflagsbyteheaderPeriodFrame 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.bytepsPresentintsamplesPerFrameNumber of PCM samples per codec frame and audio channel.intsamplingRateSampling rate.bytesbrModeUSAC SBR modebytesbrPresentintsbrSignaling0: implicit signaling, 1: backwards compatible explicit signaling, 2: hierarcical explicit signalingbytestereoConfigIndexUSAC MPS stereo mode
-
Constructor Summary
Constructors Constructor Description CoderConfig()
-
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.
-
samplingRate
public int samplingRate
Sampling rate.
-
extSamplingRate
public int extSamplingRate
Extended samplerate (SBR).
-
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
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
-
sbrPresent
public byte sbrPresent
-
psPresent
public byte psPresent
-
-