public enum AlivcSoundFormat extends java.lang.Enum<AlivcSoundFormat>
Enum Constant and Description |
---|
SOUND_FORMAT_F32
float32
|
SOUND_FORMAT_F32P
float 32 bits, planar
|
SOUND_FORMAT_S16
signed 16 bits
|
SOUND_FORMAT_S16P
signed 16 bits, planar
|
SOUND_FORMAT_S32
signed 32 bits
|
SOUND_FORMAT_S32P
signed 32 bits, planar
|
SOUND_FORMAT_U8
unsigned 8 bits
|
SOUND_FORMAT_U8P
unsigned 8 bits, planar
|
SOUND_FORMAT_UNKNOW
未知
|
Modifier and Type | Method and Description |
---|---|
int |
getAlivcSoundFormat()
获取枚举值
|
static AlivcSoundFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AlivcSoundFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlivcSoundFormat SOUND_FORMAT_UNKNOW
public static final AlivcSoundFormat SOUND_FORMAT_U8
public static final AlivcSoundFormat SOUND_FORMAT_S16
public static final AlivcSoundFormat SOUND_FORMAT_S32
public static final AlivcSoundFormat SOUND_FORMAT_F32
public static final AlivcSoundFormat SOUND_FORMAT_U8P
public static final AlivcSoundFormat SOUND_FORMAT_S16P
public static final AlivcSoundFormat SOUND_FORMAT_S32P
public static final AlivcSoundFormat SOUND_FORMAT_F32P
public static AlivcSoundFormat[] values()
for (AlivcSoundFormat c : AlivcSoundFormat.values()) System.out.println(c);
public static AlivcSoundFormat 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 getAlivcSoundFormat()