org.sheinbergon.aac.jna.structure.AACEncConfig Maven / Gradle / Ivy
package org.sheinbergon.aac.jna.structure;
import com.sun.jna.Structure;
import lombok.ToString;
import org.sheinbergon.aac.jna.util.JNAUtil;
import java.util.List;
/**
* Maps to AACENC_CONFIG struct in @see fdk-aac/libAACenc/src/aacenc.h
*/
public class AACEncConfig extends Structure {
private final static List FIELD_ORDER = JNAUtil.structureFieldOrder(AACEncConfig.class);
public int sampleRate;
public int bitRate;
public int ancDataBitRate;
public int nSubFrames;
public int audioObjectType;
public int averageBits;
public int bitrateMode;
public int nChannels;
public int channelOrder;
public int bandWidth;
public int channelMode;
public int framelength;
public int syntaxFlags;
public byte epConfig;
public int anc_Rate;
public int maxAncBytesPerAU;
public int minBitsPerFrame;
public int maxBitsPerFrame;
public int bitreservoir;
public int audioMuxVersion;
public int sbrRatio;
public byte useTns;
public byte usePns;
public byte useIS;
public byte useRequant;
@Override
protected List getFieldOrder() {
return FIELD_ORDER;
}
}