public enum StereoMode extends java.lang.Enum<StereoMode>
![]() |
![]() |
LAMEHeader
,
LAME Header FormatEnum Constant and Description |
---|
DUAL
dual channel stereo
|
FORCE
force
|
INTENSITY
intensity
|
JOINT
joint stereo
|
MONO
mono
|
STEREO
stereo
|
UNDEFINED
undefined/different
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
gets the name of the stereo mode.
|
java.lang.String |
toString()
gets a string representation of the stereo mode enum.
|
static StereoMode |
valueOf(int mode)
converts an integral value to its corresponding stereo mode enum.
|
static StereoMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StereoMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StereoMode MONO
public static final StereoMode STEREO
public static final StereoMode DUAL
public static final StereoMode JOINT
public static final StereoMode FORCE
public static final StereoMode INTENSITY
public static final StereoMode UNDEFINED
public static StereoMode[] values()
for (StereoMode c : StereoMode.values()) System.out.println(c);
public static StereoMode 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 StereoMode valueOf(int mode) throws java.lang.IllegalArgumentException
mode
- integral value to be converted to an stereo mode enum.java.lang.IllegalArgumentException
- if the value is not a valid stereo mode.public java.lang.String toString()
toString
in class java.lang.Enum<StereoMode>