|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.kc7bfi.jflac.frame.Header
public class Header
Frame header class.
| Field Summary | |
|---|---|
int |
bitsPerSample
The sample resolution. |
int |
blockSize
The number of samples per subframe. |
int |
channelAssignment
The channel assignment for the frame. |
int |
channels
The number of channels (== number of subframes). |
int |
frameNumber
The frame number or sample number of first sample in frame. |
long |
sampleNumber
The sample number for the first sample in the frame. |
int |
sampleRate
The sample rate in Hz. |
| Constructor Summary | |
|---|---|
Header(BitInputStream is,
byte[] headerWarmup,
StreamInfo streamInfo)
The constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
toString()
Return a descriptive string for this object. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public int blockSize
public int sampleRate
public int channels
public int channelAssignment
public int bitsPerSample
public int frameNumber
public long sampleNumber
| Constructor Detail |
|---|
public Header(BitInputStream is,
byte[] headerWarmup,
StreamInfo streamInfo)
throws java.io.IOException,
BadHeaderException
is - The InputBitStreamheaderWarmup - The header warm-up bytesstreamInfo - The FLAC Stream Info
java.io.IOException - Thrown on error reading InputBitStream
BadHeaderException - Thrown if header is bad| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||