public class WaveAudioFileReader
extends org.tritonus.share.sampled.file.TAudioFileReader
| Constructor and Description |
|---|
WaveAudioFileReader() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
advanceChunk(java.io.DataInputStream dis,
long prevLength,
long prevRead) |
protected long |
findChunk(java.io.DataInputStream dis,
int key) |
protected javax.sound.sampled.AudioFileFormat |
getAudioFileFormat(java.io.InputStream inputStream,
long lFileLengthInBytes) |
protected javax.sound.sampled.AudioFormat |
readFormatChunk(java.io.DataInputStream dis,
long chunkLength) |
calculateFrameSize, getAudioFileFormat, getAudioFileFormat, getAudioFileFormat, getAudioInputStream, getAudioInputStream, getAudioInputStream, getAudioInputStream, readIeeeExtended, readLittleEndianInt, readLittleEndianShortprotected void advanceChunk(java.io.DataInputStream dis,
long prevLength,
long prevRead)
throws java.io.IOException
java.io.IOExceptionprotected long findChunk(java.io.DataInputStream dis,
int key)
throws javax.sound.sampled.UnsupportedAudioFileException,
java.io.IOException
javax.sound.sampled.UnsupportedAudioFileExceptionjava.io.IOExceptionprotected javax.sound.sampled.AudioFormat readFormatChunk(java.io.DataInputStream dis,
long chunkLength)
throws javax.sound.sampled.UnsupportedAudioFileException,
java.io.IOException
javax.sound.sampled.UnsupportedAudioFileExceptionjava.io.IOExceptionprotected javax.sound.sampled.AudioFileFormat getAudioFileFormat(java.io.InputStream inputStream,
long lFileLengthInBytes)
throws javax.sound.sampled.UnsupportedAudioFileException,
java.io.IOException
getAudioFileFormat in class org.tritonus.share.sampled.file.TAudioFileReaderjavax.sound.sampled.UnsupportedAudioFileExceptionjava.io.IOException