public enum ChannelConfiguration extends java.lang.Enum<ChannelConfiguration>
Modifier and Type | Method and Description |
---|---|
static ChannelConfiguration |
forInt(int i) |
int |
getChannelCount()
Returns the number of channels in this configuration.
|
java.lang.String |
getDescription()
Returns a short description of this configuration.
|
java.lang.String |
toString()
Returns a string representation of this channel configuration.
|
static ChannelConfiguration |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChannelConfiguration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChannelConfiguration CHANNEL_CONFIG_UNSUPPORTED
public static final ChannelConfiguration CHANNEL_CONFIG_NONE
public static final ChannelConfiguration CHANNEL_CONFIG_MONO
public static final ChannelConfiguration CHANNEL_CONFIG_STEREO
public static final ChannelConfiguration CHANNEL_CONFIG_STEREO_PLUS_CENTER
public static final ChannelConfiguration CHANNEL_CONFIG_STEREO_PLUS_CENTER_PLUS_REAR_MONO
public static final ChannelConfiguration CHANNEL_CONFIG_FIVE
public static final ChannelConfiguration CHANNEL_CONFIG_FIVE_PLUS_ONE
public static final ChannelConfiguration CHANNEL_CONFIG_SEVEN_PLUS_ONE
public static ChannelConfiguration[] values()
for (ChannelConfiguration c : ChannelConfiguration.values()) System.out.println(c);
public static ChannelConfiguration 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 static ChannelConfiguration forInt(int i)
public int getChannelCount()
public java.lang.String getDescription()
public java.lang.String toString()
getDescription()
.toString
in class java.lang.Enum<ChannelConfiguration>