org.sheinbergon.aac.jna.structure.UserParam 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 USER_PARAM struct in @see fdk-aac/libAACenc/src/aacenc_lib.cpp
*/
public class UserParam extends Structure {
private final static List FIELD_ORDER = JNAUtil.structureFieldOrder(UserParam.class);
public int userAOT;
public int userSamplerate;
public int nChannels;
public int userChannelMode;
public int userBitrate;
public int userBitrateMode;
public int userBandwidth;
public int userAfterburner;
public int userFramelength;
public int userAncDataRate;
public int userPeakBitrate;
public byte userTns;
public byte userPns;
public byte userIntensity;
public int userTpType;
public byte userTpSignaling;
public byte userTpNsubFrames;
public byte userTpAmxv;
public byte userTpProtection;
public byte userTpHeaderPeriod;
public byte userErTools;
public int userPceAdditions;
public byte userMetaDataMode;
public byte userSbrEnabled;
public int userSbrRatio;
@Override
protected List getFieldOrder() {
return FIELD_ORDER;
}
}