Lines Matching refs:track
176 char track;
220 track_info track[MAXIMUM_TRACKS];
306 static int CDAudio_GetAudioTrackInfo(byte track, int *start)
323 readInfo->audioTrackInfo.track = track;
380 cd.track[n].isData = CDAudio_GetAudioTrackInfo (n, &cd.track[n].start);
383 cd.track[n-1].length = RedBookToSector(cd.track[n].start) - RedBookToSector(cd.track[n-1].start);
385 cd.track[n].length = RedBookToSector(cd.leadOutAddress) - RedBookToSector(cd.track[n].start);
495 void CDAudio_Play(byte track, qboolean looping)
505 track = remap[track];
509 if (playTrack == track)
516 if (track < cd.lowTrack || track > cd.highTrack)
518 Con_DPrintf("CDAudio_Play: Bad track number %u.\n", track);
522 playTrack = track;
524 if (cd.track[track].isData)
549 cdRequest->x.playAudio.startLocation = cd.track[track].start;
550 cdRequest->x.playAudio.sectors = cd.track[track].length;
560 Con_DPrintf("CDAudio_Play: track %u failed\n", track);
727 Con_Printf("Track %2u: %s at %2u:%02u\n", n, ret ? "data " : "music", (startAddress >> 16) & 0xff, (startAddress >> 8) & 0xff);
730 track %u\n", playLooping ? "looping" : "playing", playTrack);