Serializable, Comparable<SoundSource.DataFormat>public static enum SoundSource.DataFormat extends Enum<SoundSource.DataFormat>
| Enum Constant | Description |
|---|---|
ALAW_8KHZ_MONO_LITTLE_ENDIAN |
|
LINEAR_PCM_8KHZ_16BITS_SIGNED_MONO_LITTLE_ENDIAN |
| Modifier and Type | Field | Description |
|---|---|---|
static SoundSource.DataFormat |
DEFAULT |
| Modifier and Type | Method | Description |
|---|---|---|
static SoundSource.DataFormat |
fromShortAlias(String shortAlias) |
|
String |
getDescription() |
|
String |
getShortAlias() |
|
static SoundSource.DataFormat |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static SoundSource.DataFormat[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoundSource.DataFormat LINEAR_PCM_8KHZ_16BITS_SIGNED_MONO_LITTLE_ENDIAN
public static final SoundSource.DataFormat ALAW_8KHZ_MONO_LITTLE_ENDIAN
public static SoundSource.DataFormat DEFAULT
public static SoundSource.DataFormat[] values()
for (SoundSource.DataFormat c : SoundSource.DataFormat.values()) System.out.println(c);
public static SoundSource.DataFormat valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getDescription()
public String getShortAlias()
public static SoundSource.DataFormat fromShortAlias(String shortAlias)
Copyright © 2018. All rights reserved.