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->cur_frame, &m, &s, &f);
153 cdrom->track[cdrom->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->numtracks);
174 for ( i=0; i<cdrom->numtracks; ++i ) {
175 FRAMES_TO_MSF(cdrom->track[i].length, &m, &s, &f);
179 cdrom->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->numtracks-1, 0, 0, 0);
206 if ( CD_INDRIVE(SDL_CDStatus(cdrom)) )
207 SDL_CDPlayTracks(cdrom, 0, 0, 2, CD_FPS * 10);</PRE