org.tritonus.sampled.file
Class WaveTool
java.lang.Object
org.tritonus.sampled.file.WaveTool
- public class WaveTool
- extends Object
Common constants and methods for handling wave files.
- Author:
- Florian Bomers
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WAVE_RIFF_MAGIC
public static final int WAVE_RIFF_MAGIC
- See Also:
- Constant Field Values
WAVE_WAVE_MAGIC
public static final int WAVE_WAVE_MAGIC
- See Also:
- Constant Field Values
WAVE_FMT_MAGIC
public static final int WAVE_FMT_MAGIC
- See Also:
- Constant Field Values
WAVE_DATA_MAGIC
public static final int WAVE_DATA_MAGIC
- See Also:
- Constant Field Values
WAVE_FACT_MAGIC
public static final int WAVE_FACT_MAGIC
- See Also:
- Constant Field Values
WAVE_FORMAT_UNSPECIFIED
public static final short WAVE_FORMAT_UNSPECIFIED
- See Also:
- Constant Field Values
WAVE_FORMAT_PCM
public static final short WAVE_FORMAT_PCM
- See Also:
- Constant Field Values
WAVE_FORMAT_MS_ADPCM
public static final short WAVE_FORMAT_MS_ADPCM
- See Also:
- Constant Field Values
WAVE_FORMAT_ALAW
public static final short WAVE_FORMAT_ALAW
- See Also:
- Constant Field Values
WAVE_FORMAT_ULAW
public static final short WAVE_FORMAT_ULAW
- See Also:
- Constant Field Values
WAVE_FORMAT_IMA_ADPCM
public static final short WAVE_FORMAT_IMA_ADPCM
- See Also:
- Constant Field Values
WAVE_FORMAT_G723_ADPCM
public static final short WAVE_FORMAT_G723_ADPCM
- See Also:
- Constant Field Values
WAVE_FORMAT_GSM610
public static final short WAVE_FORMAT_GSM610
- See Also:
- Constant Field Values
WAVE_FORMAT_G721_ADPCM
public static final short WAVE_FORMAT_G721_ADPCM
- See Also:
- Constant Field Values
WAVE_FORMAT_MPEG
public static final short WAVE_FORMAT_MPEG
- See Also:
- Constant Field Values
MIN_FMT_CHUNK_LENGTH
public static final int MIN_FMT_CHUNK_LENGTH
- See Also:
- Constant Field Values
MIN_DATA_OFFSET
public static final int MIN_DATA_OFFSET
- See Also:
- Constant Field Values
MIN_FACT_CHUNK_LENGTH
public static final int MIN_FACT_CHUNK_LENGTH
- See Also:
- Constant Field Values
FMT_CHUNK_SIZE
public static final int FMT_CHUNK_SIZE
- See Also:
- Constant Field Values
RIFF_CONTAINER_CHUNK_SIZE
public static final int RIFF_CONTAINER_CHUNK_SIZE
- See Also:
- Constant Field Values
CHUNK_HEADER_SIZE
public static final int CHUNK_HEADER_SIZE
- See Also:
- Constant Field Values
DATA_OFFSET
public static final int DATA_OFFSET
- See Also:
- Constant Field Values
GSM0610
public static AudioFormat.Encoding GSM0610
IMA_ADPCM
public static AudioFormat.Encoding IMA_ADPCM
WaveTool
public WaveTool()
getFormatCode
public static short getFormatCode(AudioFormat format)