public class CookedIoctl
extends java.lang.Object
Constructor and Description |
---|
CookedIoctl(java.lang.String strDevice) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the device.
|
int |
readFrame(int nFrame,
int nCount,
byte[] abData)
Reads one or more raw frames from the CD.
|
int |
readTOC(int[] anValues,
int[] anStartFrame,
int[] anLength,
int[] anType,
boolean[] abCopy,
boolean[] abPre,
int[] anChannels) |
public void close()
public int readTOC(int[] anValues, int[] anStartFrame, int[] anLength, int[] anType, boolean[] abCopy, boolean[] abPre, int[] anChannels)
public int readFrame(int nFrame, int nCount, byte[] abData)
nCount
frames starting at
lba position nFrame
.
abData
has to be big enough to hold the
amount of data requested (2352 * nCount
bytes).