#include <audiere.h>
Inheritance diagram for audiere::CDDevice:
Public Member Functions | |
virtual const char * | getName ()=0 |
virtual int | getTrackCount ()=0 |
virtual void | play (int track)=0 |
virtual void | stop ()=0 |
virtual void | pause ()=0 |
virtual void | resume ()=0 |
virtual bool | isPlaying ()=0 |
virtual bool | containsCD ()=0 |
virtual bool | isDoorOpen ()=0 |
virtual void | openDoor ()=0 |
virtual void | closeDoor ()=0 |
Protected Member Functions | |
virtual | ~CDDevice () |
Definition at line 905 of file audiere.h.
|
|
|
Closes this device's door.
|
|
Returns true if the drive contains a cd. This might be slow on some systems, use with care. |
|
Returns the name of this CD Device, often just the device name it was created with. |
|
Returns the number of audio tracks on the disc. |
|
Returns true if the door is open.
|
|
Returns true if the CD is currently playing a sound, this could be through us, or through some other program. |
|
Opens this device's door.
|
|
pauses playback of the track that is currently playing (if any) This does nothing if no track is playing |
|
Starts playback of the given track. If another track was already playing, the previous track is stopped. IMPORTANT: Tracks are indexed from 0 to getTrackCount() - 1. |
|
Resumes playback of the track that is currently paused (if any). This does nothing if no track is paused. |
|
Stops the playback, if the playback was already stopped, this does nothing. |