org.sheinbergon.aac.jna.structure.AACEncInfo Maven / Gradle / Ivy
package org.sheinbergon.aac.jna.structure;
import com.sun.jna.Structure;
import org.sheinbergon.aac.jna.util.JNAUtil;
import java.util.List;
/**
* Maps to AACENC_InfoStruct struct in @see fdk-aac/libAACenc/include/aacenc_lib.h
*/
public class AACEncInfo extends Structure {
private final static int CONF_BUF_SIZE = 64;
private final static List FIELD_ORDER = JNAUtil.structureFieldOrder(AACEncInfo.class);
public int maxOutBufBytes;
public int maxAncBytes;
public int inBufFillLevel;
public int inputChannels;
public int frameLength;
public int encoderDelay;
public byte[] confBuf = new byte[CONF_BUF_SIZE];
public int confSize;
@Override
protected List getFieldOrder() {
return FIELD_ORDER;
}
}