Provide an interface to the Cdrom class. More...
Publicly inherits QObject.
CDDrive | ( ); |
void | changeDbasePath | ( ); |
void | changePollTime | ( ); |
void | changeProgram | ( int length, int* tracks ); |
void | changeShuffle | ( ); |
void | changeStep | ( int step ); |
void | decrVolume | ( ); |
void | eject | ( ); |
void | incrVolume | ( ); |
void | nextTrack | ( ); |
void | pause | ( ); |
void | play | ( ); |
void | playTrack | ( int track ); |
void | previousTrack | ( ); |
void | stop | ( ); |
void | timerEvent | ( QTimerEvent* e ); |
void | changeStatus | ( CdromStatus status, int absTime, int relTime ); |
bool | doNewDisc | ( ); |
void | doNoDisc | ( ); |
void | doTime | ( int absTime, int relTime ); |
void | doUpdateTime | ( int frame ); |
void | doUpdateTrack | ( ); |
void | done | ( ); |
void | newDisc | ( CompactDisc* cd ); |
void | noDisc | ( ); |
void | updateStatus | ( CdromStatus status ); |
void | updateStep | ( int step ); |
void | updateTime | ( int minute, int second ); |
void | updateTrack | ( int track, const char* name ); |
void | updateVolume | ( int volume ); |
CompactDisc* | _cd; |
int | _desiredTrack; |
int | _relTime; |
CdromStatus | _status; |
int | _timerID; |
int | _track; |
int | _volume; |
Provide an interface to the Cdrom class.
This class provides an interface to the Cdrom class for manipulating audio comapct discs. All the normal operations (play/pause/stop/eject/etc...) are supported. However cue and review are not currently supported because of problems with some drives.Initialize the CDDrive object, and start the polling timer. There should be only one instance of this object for the entire application.
Re-read the disc info from the new database file.
Change the poll time pref.
Change the tracks in the UserProgram.
Toggle random play mode on/off.
Process a change in the program step.
Decrease the volume by one unit.
Eject the drive tray.
Increase the volume by one unit.
Go to the next track.
Pause the current play operation.
Begin playing the current desired track.
Begin playing a specific track.
Go to the previous track.
Stop any active play operation.
Poll the cdrom for its current status, play time, and track.
Process a new status reading from the CDDrive.
Process the detection of a new disc.
Process the detection of the abscence of a disc.
Calculate the current play time taking into account the time mode.
Convert from frames to minutes and seconds, and emit the time.
Process a change in the currently playing track.
Emitted when the current play operation completes.
Emitted when a new disc is detected.
The CompactDisc object of the new disc is given.
Emitted when the absence of a disc is detected.
Emitted when the audio status of the CDROM changes.
Possible values for the status are: Playing, Paused, Stopped, Completed, and Error.
Emitted when the program step changes.
Emitted when the time changes.
Emitted when the track number changes.
Emitted when the volume changes.
The range of the volume is from 0 to 63.