Home | History | Annotate | Download | only in html

Lines Matching full:cdrom

4 >CDROM Examples</TITLE
78 >CDROM Examples</H1
119 > SDL_CD *cdrom;
123 cdrom = SDL_CDOpen(0);
124 if ( cdrom == NULL ) {
130 status = SDL_CDStatus(cdrom);
151 FRAMES_TO_MSF(cdrom-&#62;cur_frame, &#38;m, &#38;s, &#38;f);
153 cdrom-&#62;track[cdrom-&#62;cur_track].id, m, s);
168 > SDL_CD *cdrom; /* Assuming this has already been set.. */
172 SDL_CDStatus(cdrom);
173 printf("Drive tracks: %d\n", cdrom-&#62;numtracks);
174 for ( i=0; i&#60;cdrom-&#62;numtracks; ++i ) {
175 FRAMES_TO_MSF(cdrom-&#62;track[i].length, &#38;m, &#38;s, &#38;f);
179 cdrom-&#62;track[i].id, m, s);
194 > SDL_CD *cdrom; /* Assuming this has already been set.. */
197 if ( CD_INDRIVE(SDL_CDStatus(cdrom)) )
198 SDL_CDPlayTracks(cdrom, 0, 0, 0, 0);
201 if ( CD_INDRIVE(SDL_CDStatus(cdrom)) ) {
202 SDL_CDPlayTracks(cdrom, cdrom-&#62;numtracks-1, 0, 0, 0);
206 if ( CD_INDRIVE(SDL_CDStatus(cdrom)) )
207 SDL_CDPlayTracks(cdrom, 0, 0, 2, CD_FPS * 10);</PRE