Package ca.phon.audio
Enum Class AudioFileEncoding
- All Implemented Interfaces:
Serializable
,Comparable<AudioFileEncoding>
,Constable
Audio file formats
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionint
int
boolean
boolean
isSigned()
static AudioFileEncoding
Returns the enum constant of this class with the specified name.static AudioFileEncoding[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALAW
-
MULAW
-
LINEAR_8_SIGNED
-
LINEAR_8_UNSIGNED
-
LINEAR_12_BIG_ENDIAN
-
LINEAR_12_LITTLE_ENDIAN
-
LINEAR_16_BIG_ENDIAN
-
LINEAR_16_LITTLE_ENDIAN
-
LINEAR_24_BIG_ENDIAN
-
LINEAR_24_LITTLE_ENDIAN
-
LINEAR_32_BIG_ENDIAN
-
LINEAR_32_LITTLE_ENDIAN
-
IEEE_FLOAT_32_BIG_ENDIAN
-
IEEE_FLOAT_32_LITTLE_ENDIAN
-
IEEE_FLOAT_64_BIG_ENDIAN
-
IEEE_FLOAT_64_LITTLE_ENDIAN
-
EXTENDED
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
isSigned
public boolean isSigned() -
isBigEndian
public boolean isBigEndian() -
getBytesPerSample
public int getBytesPerSample() -
getBitsPerSample
public int getBitsPerSample()
-