|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.groovemanager.sampled.providers.WaveChunk
com.groovemanager.sampled.providers.SliceChunk
This class represents a self-defined Chunk for wave files to include slice information.
| Field Summary |
|---|
| Fields inherited from class com.groovemanager.sampled.providers.WaveChunk |
|---|
chunkData, chunkname |
| Constructor Summary | |
|---|---|
SliceChunk(byte[] data)
Construct a new SliceChunk out of the given chunk data. |
|
SliceChunk(int[][] slices)
Construct a new SliceChunk out of the given slices |
|
| Method Summary | |
|---|---|
private static byte[] |
createData(int[][] slices)
Create the chunk data out of the given slices |
int |
getSliceCount()
Get the number of slices contained in this Chunk |
int[][] |
getSlices()
Get the slices out of this Chunk |
| Methods inherited from class com.groovemanager.sampled.providers.WaveChunk |
|---|
getData, getLength, getName, writeToOut, writeToOut |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SliceChunk(byte[] data)
data - The chunk datapublic SliceChunk(int[][] slices)
slices - For each slice this Array should contain an int-Array of
size 2 containing the frame position of the slice at index [0] and
the frame length of the slice or -1 at index [1]| Method Detail |
|---|
private static byte[] createData(int[][] slices)
slices - For each slice this Array should contain an int-Array of
size 2 containing the frame position of the slice at index [0] and
the frame length of the slice or -1 at index [1]
public int getSliceCount()
public int[][] getSlices()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||