CdromBase

Abstract interface to any CDROM. More...

Public Methods

virtual booleject( int fd );
virtual CompactDiscID*id( int fd );
virtual boolinit( int fd );
virtual boolpause( int fd );
virtual boolplay( int fd, int track );
virtual boolresume( int fd );
virtual boolstatus( int fd, CdromStatus& status, int& absTime, int& volume );
virtual boolstop( int fd );
virtual boolvolume( int fd, int vol );

Detailed Documentation

Abstract interface to any CDROM.

This class defines the basic interface for a CDROM drive that is supported by XCd.

Public Methods Documentation

virtual bool eject ( int fd );

Eject/retract the drive tray.

virtual CompactDiscID* id ( int fd );

Return the ID of the current disc, or 0 if no disc is present.

virtual bool init ( int fd );

Perform any necessary initialization of the CDROM device.

virtual bool pause ( int fd );

Pause the playing disc.

virtual bool play ( int fd, int track );

Play a single track on the disc, from start to finish.

virtual bool resume ( int fd );

Resume playing the disc after pausing.

virtual bool status ( int fd, CdromStatus& status, int& absTime, int& volume );

Get the current status of the CDROM drive.

virtual bool stop ( int fd );

Stop the playing disc.

virtual bool volume ( int fd, int vol );

Set the output volume of the CDROM drive.


Return to Index.
Automatically generated on Dec 29 18:17