|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.atunes.kernel.modules.cdripper.cdda2wav.CdToWavConverter
net.sourceforge.atunes.kernel.modules.cdripper.cdda2wav.Cdda2wav
public class Cdda2wav
Detects CD drives, gathers CD information and rip CD's all using cdda2wav (icedax).
Field Summary |
---|
Fields inherited from class net.sourceforge.atunes.kernel.modules.cdripper.cdda2wav.CdToWavConverter |
---|
cd, listener, noCdListener, process |
Method Summary | |
---|---|
boolean |
cdda2wav(int track,
java.io.File fileName)
Ripps the selected tracks using cdda2wav or icedax. |
CDInfo |
getCDInfo()
Gathers the various information from the audio CD and tries to get more info from either CDDB or CD Text if present. |
void |
notifyNoCd()
Sets no CD found so a dialog gets displayed. |
void |
setListener(ProgressListener listener)
Sets the listener. |
void |
setNoCdListener(NoCdListener noCdListener)
Sets the no cd listener. |
void |
stop()
Destroys the ripping process. |
Methods inherited from class net.sourceforge.atunes.kernel.modules.cdripper.cdda2wav.CdToWavConverter |
---|
createNewConverterForOS, testTool |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean cdda2wav(int track, java.io.File fileName)
cdda2wav
in class CdToWavConverter
track
- The track number of the song to be ripped.fileName
- The filename of the wav file that will be created.
public CDInfo getCDInfo()
Gathers the various information from the audio CD and tries to get more info from either CDDB or CD Text if present. Also checks if no or a data CD is inserted and gives a "No CD" message in this case. All found devices get probed until an audio CD is found or there are no more devices to get probed. Currently icedax does not support special characters and returns "_" instead. Cdda2wav is read using charset, what happens when other characters get into play is unknown.
Data tracks do get substracted from the total track number and are not considered! So data track must be the last one.
getCDInfo
in class CdToWavConverter
public void notifyNoCd()
notifyNoCd
in class CdToWavConverter
public void setListener(ProgressListener listener)
setListener
in class CdToWavConverter
listener
- the new listenerpublic void setNoCdListener(NoCdListener noCdListener)
setNoCdListener
in class CdToWavConverter
noCdListener
- the new no cd listenerpublic void stop()
stop
in class CdToWavConverter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |