|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<SoundFormat>
com.flagstone.transform.sound.SoundFormat
public enum SoundFormat
SoundFormat is used to identify the different encoding formats used for event and streaming sounds in Flash and Flash Video files.
Enum Constant Summary | |
---|---|
ADPCM
Compressed ADaptive Pulse Code Modulated: samples are encoded and compressed by comparing the difference between successive sound sample which dramatically reduces the size of the encoded sound when compared to the uncompressed PCM formats. |
|
MP3
Compressed MPEG Audio Layer-3. |
|
NATIVE_PCM
Uncompressed Pulse Code Modulated: samples are either 1 or 2 bytes. |
|
NELLYMOSER
Compressed Nellymoser Asao format supporting low bit-rate sound for improved synchronisation between the sound and frame rate of movies. |
|
NELLYMOSER_8K
Compressed Nellymoser Asao format for a mono sound played at 8KHz supporting low bit-rate sound for improved synchronisation between the sound and frame rate of movies. |
|
PCM
Uncompressed pulse code modulated sound. |
|
SPEEX
The Open Source SPEEX sound format. |
Method Summary | |
---|---|
static SoundFormat |
fromInt(int value)
Get the SoundFormat represented by an encoded value. |
int |
getValue()
Get the value used to represent the SoundFormat when it is encoded. |
static SoundFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SoundFormat[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final SoundFormat NATIVE_PCM
public static final SoundFormat ADPCM
public static final SoundFormat MP3
public static final SoundFormat PCM
public static final SoundFormat NELLYMOSER_8K
public static final SoundFormat NELLYMOSER
public static final SoundFormat SPEEX
Method Detail |
---|
public static SoundFormat[] values()
for (SoundFormat c : SoundFormat.values()) System.out.println(c);
public static SoundFormat valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static SoundFormat fromInt(int value)
value
- that represents the SoundFormat when encoded in a Flash
file.
public int getValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |