Enum Class NTSampleKind

java.lang.Object
java.lang.Enum<NTSampleKind>
com.io7m.jnoisetype.api.NTSampleKind
All Implemented Interfaces:
Serializable, Comparable<NTSampleKind>, Constable

public enum NTSampleKind extends Enum<NTSampleKind>
See Also:
  • "SoundFontⓡ Technical Specification 2.04, §7.10 The SHDR subchunk"
  • Enum Constant Details

    • SAMPLE_KIND_NONE

      public static final NTSampleKind SAMPLE_KIND_NONE
      A nonexistent sample kind; used in terminal records.
    • SAMPLE_KIND_MONO

      public static final NTSampleKind SAMPLE_KIND_MONO
      A mono sample.
    • SAMPLE_KIND_RIGHT

      public static final NTSampleKind SAMPLE_KIND_RIGHT
      A right stereo sample.
    • SAMPLE_KIND_LEFT

      public static final NTSampleKind SAMPLE_KIND_LEFT
      A left stereo sample.
    • SAMPLE_KIND_LINKED

      public static final NTSampleKind SAMPLE_KIND_LINKED
      A linked sample.
    • SAMPLE_KIND_ROM_MONO

      public static final NTSampleKind SAMPLE_KIND_ROM_MONO
      A mono sample in a ROM.
    • SAMPLE_KIND_ROM_RIGHT

      public static final NTSampleKind SAMPLE_KIND_ROM_RIGHT
      A right stereo sample in a ROM.
    • SAMPLE_KIND_ROM_LEFT

      public static final NTSampleKind SAMPLE_KIND_ROM_LEFT
      A left stereo sample in a ROM.
    • SAMPLE_KIND_ROM_LINKED

      public static final NTSampleKind SAMPLE_KIND_ROM_LINKED
      A linked sample in a ROM.
  • Method Details

    • values

      public static NTSampleKind[] 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

      public static NTSampleKind valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • value

      public int value()
      Returns:
      The integer value of the enumeration