|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.tritonus.lowlevel.cdda.cdparanoia.Cdparanoia
Reading audio CDs using libcdparanoia.
Constructor Summary | |
---|---|
Cdparanoia(String strDevice)
|
Method Summary | |
---|---|
void |
close()
Closes the device. |
String |
getCddaErrors()
Gets error messages for the CDROM drive. |
int |
open()
Opens and initializes 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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Cdparanoia(String strDevice)
Method Detail |
---|
public int open()
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).
public String getCddaErrors()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |