public class AIFFFileParser
extends java.lang.Object
| Constructor and Description |
|---|
AIFFFileParser() |
| Modifier and Type | Method and Description |
|---|---|
long |
getDataPosition() |
long |
getFileSize()
This can be read by another thread when load()ing a sample to determine
how many bytes need to be read.
|
long |
getNumBytesRead()
This can be read by another thread when load()ing a sample to determine
how many bytes have been read so far.
|
void |
handleChunk(com.jsyn.util.soundfile.IFFParser parser,
int ckID,
int ckSize)
Called by parse() method to handle chunks in an AIFF specific manner.
|
void |
handleForm(com.jsyn.util.soundfile.IFFParser parser,
int ckID,
int ckSize,
int type)
Called by parse() method to handle FORM chunks in an AIFF specific
manner.
|
FloatSample |
load(com.jsyn.util.soundfile.IFFParser parser) |
public void handleForm(com.jsyn.util.soundfile.IFFParser parser,
int ckID,
int ckSize,
int type)
throws java.io.IOException
ckID - four byte chunk ID such as 'data'ckSize - size of chunk in bytesjava.io.IOException - If parsing fails, or IO error occurs.public void handleChunk(com.jsyn.util.soundfile.IFFParser parser,
int ckID,
int ckSize)
throws java.io.IOException
ckID - four byte chunk ID such as 'data'ckSize - size of chunk in bytesjava.io.IOException - If parsing fails, or IO error occurs.public long getDataPosition()
public long getNumBytesRead()
public long getFileSize()
public FloatSample load(com.jsyn.util.soundfile.IFFParser parser) throws java.io.IOException
java.io.IOException