public enum SignalEncodingType extends java.lang.Enum<SignalEncodingType>
Enum Constant and Description |
---|
$16_BIT_LINEAR_PCM_2S_COMPLEMENT_BIG_ENDIAN
16-bit Linear PCM 2’s complement, Big Endian
|
$16_BIT_LINEAR_PCM_2S_COMPLEMENT_LITTLE_ENDIAN
16-bit Linear PCM 2’s complement, Little Endian
|
$8_BIT_LINEAR_PCM_UNSIGNED
8-bit Linear PCM, unsigned
|
$8_BIT_MU_LAW_ITU_T_G711
8-bit mu-law (ITU-T G.711)
|
ADPCM_ITU_T_G726
ADPCM (ITU-T G.726)
|
CVSD_MIL_STD_188_113
CVSD (MIL-STD-188-113), There are variants of CVSD encoding types that exist in the DIS community.
|
GSM_FULL_RATE_ETSI_0610
GSM Full-Rate (ETSI 06.10)
|
GSM_HALF_RATE_ETSI_0620
GSM Half-Rate (ETSI 06.20)
|
SPEEX_NARROW_BAND
Speex Narrow Band, http://www.speex.org/
|
UNAVAILABLE_FOR_USE
(unavailable for use)
|
UNAVAILABLE_FOR_USE_2
(unavailable for use)
|
VQ_VECTOR_QUANTIZATION
VQ (Vector Quantization)
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
static int |
getEnumBitWidth() |
static SignalEncodingType |
getEnumForValue(int i) |
int |
getMarshalledSize() |
int |
getValue() |
void |
marshal(java.nio.ByteBuffer buff) |
void |
marshal(java.io.DataOutputStream dos) |
static SignalEncodingType |
unmarshalEnum(java.nio.ByteBuffer buff) |
static SignalEncodingType |
unmarshalEnum(java.io.DataInputStream dis) |
static SignalEncodingType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SignalEncodingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SignalEncodingType $8_BIT_MU_LAW_ITU_T_G711
public static final SignalEncodingType CVSD_MIL_STD_188_113
public static final SignalEncodingType ADPCM_ITU_T_G726
public static final SignalEncodingType $16_BIT_LINEAR_PCM_2S_COMPLEMENT_BIG_ENDIAN
public static final SignalEncodingType $8_BIT_LINEAR_PCM_UNSIGNED
public static final SignalEncodingType VQ_VECTOR_QUANTIZATION
public static final SignalEncodingType UNAVAILABLE_FOR_USE
public static final SignalEncodingType GSM_FULL_RATE_ETSI_0610
public static final SignalEncodingType GSM_HALF_RATE_ETSI_0620
public static final SignalEncodingType SPEEX_NARROW_BAND
public static final SignalEncodingType $16_BIT_LINEAR_PCM_2S_COMPLEMENT_LITTLE_ENDIAN
public static final SignalEncodingType UNAVAILABLE_FOR_USE_2
public static SignalEncodingType[] values()
for (SignalEncodingType c : SignalEncodingType.values()) System.out.println(c);
public static SignalEncodingType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()
public java.lang.String getDescription()
public static int getEnumBitWidth()
public static SignalEncodingType getEnumForValue(int i)
public void marshal(java.io.DataOutputStream dos) throws java.io.IOException
java.io.IOException
public void marshal(java.nio.ByteBuffer buff) throws java.lang.Exception
java.lang.Exception
public static SignalEncodingType unmarshalEnum(java.io.DataInputStream dis) throws java.lang.Exception
java.lang.Exception
public static SignalEncodingType unmarshalEnum(java.nio.ByteBuffer buff) throws java.lang.Exception
java.lang.Exception
public int getMarshalledSize()