Home | All Classes | Grouped Classes | Index | Search

Class CL_CDDrive

CD drive audio interface. More...

Derived from: none
Derived by: none
Group: Sound (CD Audio)

#include <ClanLib/sound.h>

Construction:

CL_CDDrive

Constructs a CD drive object.

Attributes:

get_drives

Returns the amount of CD drives available on the system.

get_drive_path

Get the path of the CD drive.

get_cd_name

Get the name of the CD.

get_num_tracks

Get the number of tracks available on the cd.

is_playing

Returns true if the CD drive is playing.

get_cur_track

Returns the current track.

get_cur_frame

Returns the current frame on the track.

Operations:

play_tracks

Play from track 'track' til track 'end_track'.

play_frames

Play from frame 'frame' to 'end_frame'.

play_track

Play track 'track'. Returns true if successful.

stop

Stop playing.

pause

Pause the playback.

resume

Resume the playback.

Detailed description:

!group=Sound/CD Audio! !header=sound.h!

Use this class to control the CDROM drive in your computer.



Questions or comments, write to the
ClanLib mailing list.