Package com.io7m.jnoisetype.api
Enum Class NTSampleKind
- All Implemented Interfaces:
Serializable
,Comparable<NTSampleKind>
,Constable
- See Also:
-
- "SoundFontⓡ Technical Specification 2.04, §7.10 The SHDR subchunk"
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionA left stereo sample.A linked sample.A mono sample.A nonexistent sample kind; used in terminal records.A right stereo sample.A left stereo sample in a ROM.A linked sample in a ROM.A mono sample in a ROM.A right stereo sample in a ROM. -
Method Summary
Modifier and TypeMethodDescriptionint
value()
static NTSampleKind
Returns the enum constant of this class with the specified name.static NTSampleKind[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SAMPLE_KIND_NONE
A nonexistent sample kind; used in terminal records. -
SAMPLE_KIND_MONO
A mono sample. -
SAMPLE_KIND_RIGHT
A right stereo sample. -
SAMPLE_KIND_LEFT
A left stereo sample. -
SAMPLE_KIND_LINKED
A linked sample. -
SAMPLE_KIND_ROM_MONO
A mono sample in a ROM. -
SAMPLE_KIND_ROM_RIGHT
A right stereo sample in a ROM. -
SAMPLE_KIND_ROM_LEFT
A left stereo sample in a ROM. -
SAMPLE_KIND_ROM_LINKED
A linked sample in a ROM.
-
-
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
-
value
public int value()- Returns:
- The integer value of the enumeration
-