Enum Class AudioDevice.Format

java.lang.Object
java.lang.Enum<AudioDevice.Format>
com.amazonaws.ivs.broadcast.AudioDevice.Format
All Implemented Interfaces:
Serializable, Comparable<AudioDevice.Format>, Constable
Enclosing class:
AudioDevice

public static enum AudioDevice.Format extends Enum<AudioDevice.Format>
Audio data representations
  • Enum Constant Details

    • INT16

      public static final AudioDevice.Format INT16
      16-bit signed integer, interleaved. For example, buffer layout is [LRLRLR]
    • INT16_PLANAR

      public static final AudioDevice.Format INT16_PLANAR
      16-bit signed integer, planar. For example, buffer layout is [LLLRRR]
    • FLOAT32

      public static final AudioDevice.Format FLOAT32
      32-bit floating point, interleaved.
    • FLOAT32_PLANAR

      public static final AudioDevice.Format FLOAT32_PLANAR
      32-bit floating point, planar.
    • INT32

      public static final AudioDevice.Format INT32
      32-bit signed integer, interleaved.
    • INT32_PLANAR

      public static final AudioDevice.Format INT32_PLANAR
      32-bit signed integer, planar.
    • FLOAT64

      public static final AudioDevice.Format FLOAT64
      64-bit floating point, interleaved.
    • FLOAT64_PLANAR

      public static final AudioDevice.Format FLOAT64_PLANAR
      64-bit floating point, planar.
  • Method Details

    • values

      public static AudioDevice.Format[] 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 AudioDevice.Format 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