public enum ModulationFormat extends Enum<ModulationFormat>
Modifier and Type | Method and Description |
---|---|
int |
getBytesPerSample()
Returns the bytes/sample for the according audio mode.
|
int |
getSilenceThreshold()
Returns the root mean square silence threshold for the according audio
mode.
|
static ModulationFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModulationFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModulationFormat BYTE
public static final ModulationFormat SHORT
public static ModulationFormat[] values()
for (ModulationFormat c : ModulationFormat.values()) System.out.println(c);
public static ModulationFormat valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getBytesPerSample()
public int getSilenceThreshold()
Copyright © 2017. All rights reserved.