Abstract interface to any CDROM. More...
virtual bool | eject | ( int fd ); |
virtual CompactDiscID* | id | ( int fd ); |
virtual bool | init | ( int fd ); |
virtual bool | pause | ( int fd ); |
virtual bool | play | ( int fd, int track ); |
virtual bool | resume | ( int fd ); |
virtual bool | status | ( int fd, CdromStatus& status, int& absTime, int& volume ); |
virtual bool | stop | ( int fd ); |
virtual bool | volume | ( int fd, int vol ); |
Abstract interface to any CDROM.
This class defines the basic interface for a CDROM drive that is supported by XCd.Eject/retract the drive tray.
Return the ID of the current disc, or 0 if no disc is present.
Perform any necessary initialization of the CDROM device.
Pause the playing disc.
Play a single track on the disc, from start to finish.
Resume playing the disc after pausing.
Get the current status of the CDROM drive.
Stop the playing disc.
Set the output volume of the CDROM drive.