public enum AlivcAudioChannelEnum extends java.lang.Enum<AlivcAudioChannelEnum>
Enum Constant and Description |
---|
AUDIO_CHANNEL_ONE
单声道
|
AUDIO_CHANNEL_TWO
双声道
|
Modifier and Type | Method and Description |
---|---|
int |
getChannelCount()
获取音频通道数
|
static AlivcAudioChannelEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AlivcAudioChannelEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlivcAudioChannelEnum AUDIO_CHANNEL_ONE
public static final AlivcAudioChannelEnum AUDIO_CHANNEL_TWO
public static AlivcAudioChannelEnum[] values()
for (AlivcAudioChannelEnum c : AlivcAudioChannelEnum.values()) System.out.println(c);
public static AlivcAudioChannelEnum 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 int getChannelCount()