com.softsynth.jsyn
Class ParseRIFF
java.lang.Object
com.softsynth.jsyn.ParseIFF
com.softsynth.jsyn.ParseRIFF
public class ParseRIFF
- extends ParseIFF
Parse PC style RIFF File
RIFF is a modification of the IFF standard for Little Endian
Intel based machines.
- Author:
- (C) 1997 Phil Burk, SoftSynth.com, All Rights Reserved
- See Also:
ParseIFF,
SynthSampleWAV
|
Constructor Summary |
ParseRIFF(java.io.InputStream stream)
|
|
Method Summary |
boolean |
isForm(int ckid)
Does the following chunk ID correspond to a container type like FORM? |
int |
readChunkSize()
Read 32 bit signed short assuming Little Endian byte order. |
| Methods inherited from class com.softsynth.jsyn.ParseIFF |
getFileSize, getOffset, IDToString, parse, read, read, readByte, readIntBig, readIntLittle, readShortBig, readShortLittle, skip |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RIFF_ID
public static final int RIFF_ID
- See Also:
- Constant Field Values
ParseRIFF
public ParseRIFF(java.io.InputStream stream)
readChunkSize
public int readChunkSize()
throws java.io.IOException
- Read 32 bit signed short assuming Little Endian byte order.
- Overrides:
readChunkSize in class ParseIFF
- Throws:
java.io.IOException
isForm
public boolean isForm(int ckid)
throws java.io.IOException
- Description copied from class:
ParseIFF
- Does the following chunk ID correspond to a container type like FORM?
- Overrides:
isForm in class ParseIFF
- Throws:
java.io.IOException