#include <AudioCD.h>
Public Methods | |||||
| virtual void | Stop () = 0 | ||||
| Stop the cd if it is playing. | |||||
| virtual void | Pause () = 0 | ||||
| Pause the cd. | |||||
| virtual void | Resume () = 0 | ||||
| Unpause the cd. | |||||
| virtual void | Eject () = 0 | ||||
| Eject the cd tray. | |||||
| virtual void | Retract () = 0 | ||||
| Retract the cd tray. | |||||
| virtual void | Play () = 0 | ||||
| Play the entire cd. | |||||
| virtual void | Play (int minute0, int second0, int minute1, int second1) = 0 | ||||
| Play from minute0:second0 to minute1:second1 . | |||||
| virtual void | Play (int track0, int minute0, int second0, int track1, int minute1, int second1) = 0 | ||||
| virtual bool | ResumePlayToEnd () = 0 | ||||
| virtual void | Play (int track) = 0 | ||||
| Play a given track on the cd. | |||||
| virtual void | Play (int start, int end) = 0 | ||||
Play a range of tracks on the cd.
| |||||
| virtual void | Next () = 0 | ||||
| Stop playing the current track and start playing the next one. | |||||
| virtual void | Previous () = 0 | ||||
| Stop playing the current track and start playing the previous one. | |||||
| virtual bool | IsPlaying () = 0 | ||||
| virtual bool | SeekTo (int minutes, int seconds, int track = -1) = 0 | ||||
| virtual bool | GetTotalTime (int& minutes, int& seconds) = 0 | ||||
| virtual bool | GetTrackTime (int& minutes, int& seconds, int track = -1) = 0 | ||||
| if track == -1 we will retrieve the current track. | |||||
| virtual bool | GetTrackPosition (int& minutes, int& seconds, int& track) = 0 | ||||
| Retrieve the current play position relative to the current track. | |||||
| virtual bool | GetTotalPosition (int& minutes, int& seconds, int& track) = 0 | ||||
| Retrieve the current play position relative to the total cd. | |||||
| virtual int | GetCurrentTrack () = 0 | ||||
| |||||
| virtual int | GetFirstTrack () = 0 | ||||
| |||||
| virtual int | GetLastTrack () = 0 | ||||
| |||||
| virtual void | GetFirstAndLast (int& first, int& last) = 0 | ||||
| virtual bool | MediaPresent () = 0 | ||||
| virtual bool | IsAudioTrack (int track) = 0 | ||||
| virtual bool | MediaChanged () = 0 | ||||
| return true if the media has changed since this was last called. | |||||
| virtual bool | GetTMSF (int track, int& minutes, int& seconds, int& frames) = 0 | ||||
| virtual bool | GetTMSF (int& minutes, int& seconds, int& frames) = 0 | ||||
| const char* | GetVolumeSerialNumber () | ||||
| Retrieve the volume serial number for the cd. This is used by the windows cdplayer as a key to store track information in cdplayer.ini. | |||||
| const char* | GetCDDBDiscID () | ||||
| The number used by cddb to identify the cd. | |||||
Static Public Methods | |||||
| AudioCD* | Create () | ||||
1.2.3 written by Dimitri van Heesch,
© 1997-2000