public enum SurroundInfo extends java.lang.Enum<SurroundInfo>
LAMEHeader
,
LAME Header FormatEnum Constant and Description |
---|
AMBISONIC
ambisonic encoding
|
DPL_ENCODING
DPL encoding
|
DPL2_ENCODING
DPL2 encoding
|
NONE
none
|
RESERVED
unknown
|
UNKNOWN_1
unknown
|
UNKNOWN_2
unknown
|
UNKNOWN_3
unknown
|
UNKNOWN_4
unknown
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
gets the name of the surround info.
|
java.lang.String |
toString()
gets a string representation of the surround info enum.
|
static SurroundInfo |
valueOf(int info)
converts an integral value to its corresponding LAME surround info enum.
|
static SurroundInfo |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SurroundInfo[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SurroundInfo NONE
public static final SurroundInfo DPL_ENCODING
public static final SurroundInfo DPL2_ENCODING
public static final SurroundInfo AMBISONIC
public static final SurroundInfo UNKNOWN_1
public static final SurroundInfo UNKNOWN_2
public static final SurroundInfo UNKNOWN_3
public static final SurroundInfo UNKNOWN_4
public static final SurroundInfo RESERVED
public static SurroundInfo[] values()
for (SurroundInfo c : SurroundInfo.values()) System.out.println(c);
public static SurroundInfo valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getName()
public static SurroundInfo valueOf(int info) throws java.lang.IllegalArgumentException
info
- integral value to be converted to a LAME surround info enum.java.lang.IllegalArgumentException
- if the value is not a valid LAME surround info type.public java.lang.String toString()
toString
in class java.lang.Enum<SurroundInfo>