Package org.sheinbergon.aac.jna.util
Enum AACEncError
- java.lang.Object
-
- java.lang.Enum<AACEncError>
-
- org.sheinbergon.aac.jna.util.AACEncError
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AACEncError>
public enum AACEncError extends java.lang.Enum<AACEncError>
Maps to AACENC_ERROR enum.- See Also:
- fdk-aac/libAACenc/include/aacenc_lib.h
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AACEncErrorvalueOf(int value)Match aAACEncErrorfrom a given numeric error code.static AACEncErrorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AACEncError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AACENC_UNKNOWN
public static final AACEncError AACENC_UNKNOWN
-
AACENC_OK
public static final AACEncError AACENC_OK
-
AACENC_INVALID_HANDLE
public static final AACEncError AACENC_INVALID_HANDLE
-
AACENC_MEMORY_ERROR
public static final AACEncError AACENC_MEMORY_ERROR
-
AACENC_UNSUPPORTED_PARAMETER
public static final AACEncError AACENC_UNSUPPORTED_PARAMETER
-
AACENC_INVALID_CONFIG
public static final AACEncError AACENC_INVALID_CONFIG
-
AACENC_INIT_ERROR
public static final AACEncError AACENC_INIT_ERROR
-
AACENC_INIT_AAC_ERROR
public static final AACEncError AACENC_INIT_AAC_ERROR
-
AACENC_INIT_SBR_ERROR
public static final AACEncError AACENC_INIT_SBR_ERROR
-
AACENC_INIT_TP_ERROR
public static final AACEncError AACENC_INIT_TP_ERROR
-
AACENC_INIT_META_ERROR
public static final AACEncError AACENC_INIT_META_ERROR
-
AACENC_ENCODE_ERROR
public static final AACEncError AACENC_ENCODE_ERROR
-
AACENC_ENCODE_EOF
public static final AACEncError AACENC_ENCODE_EOF
-
-
Method Detail
-
values
public static AACEncError[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AACEncError c : AACEncError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AACEncError valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
valueOf
public static AACEncError valueOf(int value)
Match aAACEncErrorfrom a given numeric error code.- Parameters:
value- numeric library error code- Returns:
- the matched library error descriptor
-
-