Package com.amazonaws.ivs.broadcast
Enum AudioDevice.Format
- java.lang.Object
-
- java.lang.Enum<AudioDevice.Format>
-
- com.amazonaws.ivs.broadcast.AudioDevice.Format
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AudioDevice.Format>
- Enclosing class:
- AudioDevice
public static enum AudioDevice.Format extends java.lang.Enum<AudioDevice.Format>
Audio data representations
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FLOAT32
32-bit floating point, interleaved.FLOAT32_PLANAR
32-bit floating point, planar.FLOAT64
64-bit floating point, interleaved.FLOAT64_PLANAR
64-bit floating point, planar.INT16
16-bit signed integer, interleaved.INT16_PLANAR
16-bit signed integer, planar.INT32
32-bit signed integer, interleaved.INT32_PLANAR
32-bit signed integer, planar.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AudioDevice.Format
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AudioDevice.Format[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static AudioDevice.Format[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AudioDevice.Format c : AudioDevice.Format.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AudioDevice.Format valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-