<!-- clanlib header begin --> <HTML> <HEAD> <TITLE>CL_CDDrive - ClanLib Game SDK</TITLE> <STYLE TYPE="text/css"><!-- HTML BODY { font-family: verdana, helvetica, sans-serif; font-size: 12px; } H1 { font-size: 22px; } H2 { font-size: 18px; } H3 { font-size: 16px; } H4 { font-size: 14px; } P { font-size: 12px; } LI { font-size: 12px; } --></STYLE> </HEAD> <body bgcolor=white text=black link=blue vlink=#800080> <center> <img src="http://clanlib.org/gfx/clanlib.png"> </center> <!-- clanlib header end --> <center> <p> <a href="http://clanlib.org/docs.html">Home</a> | <a href="classes.html">All Classes</a> | <a href="modules.html">Grouped Classes</a> | <a href="index.html">Index</a> | <a href="search.html">Search</a> </p> </center> <h1>Class CL_CDDrive</h1> <p> CD drive audio interface. <a href="#description">More...</a></p> <p>Derived from: <i>none</i> <br> Derived by: <i>none</i> <br>Group: Sound (CD Audio)</p> <p> #include <ClanLib/sound.h> <p> <table border=0 width=100%> </table> <p><b>Construction:</b></p> <table border=0 width=100%> <tr><td width=30% valign=top><p><a href="CL_CDDrive__CL_CDDrive.html">CL_CDDrive</a></p></td><td valign=top><p> Constructs a CD drive object.</p></td></tr></table> <p><b>Attributes:</b></p> <table border=0 width=100%> <tr><td width=30% valign=top><p><a href="CL_CDDrive__get_drives.html">get_drives</a></p></td><td valign=top><p> Returns the amount of CD drives available on the system.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_CDDrive__get_drive_path.html">get_drive_path</a></p></td><td valign=top><p> Get the path of the CD drive.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_CDDrive__get_cd_name.html">get_cd_name</a></p></td><td valign=top><p> Get the name of the CD.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_CDDrive__get_num_tracks.html">get_num_tracks</a></p></td><td valign=top><p> Get the number of tracks available on the cd.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_CDDrive__is_playing.html">is_playing</a></p></td><td valign=top><p> Returns true if the CD drive is playing.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_CDDrive__get_cur_track.html">get_cur_track</a></p></td><td valign=top><p> Returns the current track.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_CDDrive__get_cur_frame.html">get_cur_frame</a></p></td><td valign=top><p> Returns the current frame on the track.</p></td></tr></table> <p><b>Operations:</b></p> <table border=0 width=100%> <tr><td width=30% valign=top><p><a href="CL_CDDrive__play_tracks.html">play_tracks</a></p></td><td valign=top><p> Play from track 'track' til track 'end_track'.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_CDDrive__play_frames.html">play_frames</a></p></td><td valign=top><p> Play from frame 'frame' to 'end_frame'.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_CDDrive__play_track.html">play_track</a></p></td><td valign=top><p> Play track 'track'. Returns true if successful.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_CDDrive__stop.html">stop</a></p></td><td valign=top><p> Stop playing.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_CDDrive__pause.html">pause</a></p></td><td valign=top><p> Pause the playback.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_CDDrive__resume.html">resume</a></p></td><td valign=top><p> Resume the playback.</p></td></tr></table> <a name="#description"><p><b>Detailed description:</b></p> !group=Sound/CD Audio! !header=sound.h! <p>Use this class to control the CDROM drive in your computer.</p> <!-- clanlib footer begin --> <center><br><br><font color="#a0a0a0"> Questions or comments, write to the <a href="http://clanlib.org/contact.html">ClanLib mailing list</a>. </font></center> </body> </html> <!-- clanlib footer end -->