Lines Matching full:track
154 char track;
198 track_info track[MAXIMUM_TRACKS];
291 static int CDAudio_GetAudioTrackInfo(byte track, int *start)
309 readInfo->audioTrackInfo.track = track;
372 cd.track[n].isData = CDAudio_GetAudioTrackInfo (n, &cd.track[n].start);
375 cd.track[n-1].length = RedBookToSector(cd.track[n].start) - RedBookToSector(cd.track[n-1].start);
377 cd.track[n].length = RedBookToSector(cd.leadOutAddress) - RedBookToSector(cd.track[n].start);
505 void CDAudio_Play(byte track, qboolean looping)
515 track = remap[track];
519 if (playTrack == track)
526 if (track < cd.lowTrack || track > cd.highTrack)
528 Con_DPrintf("CDAudio_Play: Bad track number %u.\n", track);
532 playTrack = track;
534 if (cd.track[track].isData)
546 cdRequest->x.playAudio.startLocation = cd.track[track].start;
547 cdRequest->x.playAudio.sectors = cd.track[track].length;
557 Con_DPrintf("CDAudio_Play: track %u failed\n", track);
718 Con_Printf("Track %2u: %s at %2u:%02u\n", n, ret ? "data " : "music", (startAddress >> 16) & 0xff, (startAddress >> 8) & 0xff);
721 Con_Printf("Currently %s track %u\n", playLooping ? "looping" : "playing", playTrack);