Lines Matching refs:track
46 #define CD_TRACK(toc, track) (&toc.toc_data[6+(track)*8])
47 #define CD_TRACK_N(toc, track) CD_TRACK(toc, track)[0]
48 #define CD_TRACK_M(toc, track) CD_TRACK(toc, track)[3]
49 #define CD_TRACK_S(toc, track) CD_TRACK(toc, track)[4]
50 #define CD_TRACK_F(toc, track) CD_TRACK(toc, track)[5]
294 cdrom->track[i].id = CD_TRACK_N(toc, i);
296 cdrom->track[i].type = SDL_AUDIO_TRACK;
297 cdrom->track[i].offset = MSF_TO_FRAMES(
301 cdrom->track[i].length = 0;
303 cdrom->track[i-1].length =
304 cdrom->track[i].offset-
305 cdrom->track[i-1].offset;