public class WaveTool
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
CHUNK_HEADER_SIZE |
static int |
DATA_OFFSET |
static int |
FMT_CHUNK_SIZE |
static javax.sound.sampled.AudioFormat.Encoding |
GSM0610 |
static javax.sound.sampled.AudioFormat.Encoding |
IMA_ADPCM |
static int |
MIN_DATA_OFFSET |
static int |
MIN_FACT_CHUNK_LENGTH |
static int |
MIN_FMT_CHUNK_LENGTH |
static int |
RIFF_CONTAINER_CHUNK_SIZE |
static int |
WAVE_DATA_MAGIC |
static int |
WAVE_FACT_MAGIC |
static int |
WAVE_FMT_MAGIC |
static short |
WAVE_FORMAT_ALAW |
static short |
WAVE_FORMAT_G721_ADPCM |
static short |
WAVE_FORMAT_G723_ADPCM |
static short |
WAVE_FORMAT_GSM610 |
static short |
WAVE_FORMAT_IMA_ADPCM |
static short |
WAVE_FORMAT_MPEG |
static short |
WAVE_FORMAT_MS_ADPCM |
static short |
WAVE_FORMAT_PCM |
static short |
WAVE_FORMAT_ULAW |
static short |
WAVE_FORMAT_UNSPECIFIED |
static int |
WAVE_RIFF_MAGIC |
static int |
WAVE_WAVE_MAGIC |
Constructor and Description |
---|
WaveTool() |
Modifier and Type | Method and Description |
---|---|
static short |
getFormatCode(javax.sound.sampled.AudioFormat format) |
public static final int WAVE_RIFF_MAGIC
public static final int WAVE_WAVE_MAGIC
public static final int WAVE_FMT_MAGIC
public static final int WAVE_DATA_MAGIC
public static final int WAVE_FACT_MAGIC
public static final short WAVE_FORMAT_UNSPECIFIED
public static final short WAVE_FORMAT_PCM
public static final short WAVE_FORMAT_MS_ADPCM
public static final short WAVE_FORMAT_ALAW
public static final short WAVE_FORMAT_ULAW
public static final short WAVE_FORMAT_IMA_ADPCM
public static final short WAVE_FORMAT_G723_ADPCM
public static final short WAVE_FORMAT_GSM610
public static final short WAVE_FORMAT_G721_ADPCM
public static final short WAVE_FORMAT_MPEG
public static final int MIN_FMT_CHUNK_LENGTH
public static final int MIN_DATA_OFFSET
public static final int MIN_FACT_CHUNK_LENGTH
public static final int FMT_CHUNK_SIZE
public static final int RIFF_CONTAINER_CHUNK_SIZE
public static final int CHUNK_HEADER_SIZE
public static final int DATA_OFFSET
public static javax.sound.sampled.AudioFormat.Encoding GSM0610
public static javax.sound.sampled.AudioFormat.Encoding IMA_ADPCM