public class Cdparanoia
extends java.lang.Object
| Constructor and Description |
|---|
Cdparanoia(java.lang.String strDevice) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the device.
|
int |
prepareTrack(int nTrack) |
int |
readNextFrame(int nCount,
byte[] abData)
Reads one or more raw frames from the CD.
|
int |
readTOC(int[] anValues,
int[] anStartFrame,
int[] anLength,
int[] anType,
boolean[] abAudio,
boolean[] abCopy,
boolean[] abPre,
int[] anChannels) |
public void close()
public int readTOC(int[] anValues,
int[] anStartFrame,
int[] anLength,
int[] anType,
boolean[] abAudio,
boolean[] abCopy,
boolean[] abPre,
int[] anChannels)
public int prepareTrack(int nTrack)
public int readNextFrame(int nCount,
byte[] abData)
nCount frames from
the track that has been set by
prepareTrack().
abData has to be big enough to hold the
amount of data requested (2352 * nCount bytes).