• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/flac-1.2.1/src/share/grabbag/

Lines Matching refs:track

268 				FLAC__StreamMetadata_CueSheet_Track *track = &cs->tracks[cs->num_tracks-1];
283 if(track->num_indices == 0) {
284 /* it's the first index point of the track */
291 if(in_index_num != track->indices[track->num_indices-1].number + 1) {
300 /*@@@ search for duplicate track number? */
321 if(is_cdda && track->num_indices > 0 && (FLAC__uint64)xx <= track->indices[track->num_indices-1].offset) {
325 /* fill in track offset if it's the first index of the track */
326 if(track->num_indices == 0)
327 track->offset = (FLAC__uint64)xx;
335 if(!FLAC__metadata_object_cuesheet_track_insert_blank_index(cuesheet, cs->num_tracks-1, track->num_indices)) {
339 track->indices[track->num_indices-1].offset = (FLAC__uint64)xx - track->offset;
340 track->indices[track->num_indices-1].number = in_index_num;
389 *error_message = "TRACK is missing track number";
394 *error_message = "TRACK has invalid track number";
421 /*@@@ search for duplicate track number? */
423 *error_message = "TRACK is missing a track type after the track number";
463 *error_message = "FLAC__lead-out is missing track number";
468 *error_message = "illegal FLAC__lead-out track number";
472 /*@@@ search for duplicate track number? */
576 const FLAC__StreamMetadata_CueSheet_Track *track = cs->tracks + track_num;
578 fprintf(file, " TRACK %02u %s\n", (unsigned)track->number, track->type == 0? "AUDIO" : "DATA");
580 if(track->pre_emphasis)
582 if(*(track->isrc))
583 fprintf(file, " ISRC %s\n", track->isrc);
585 for(index_num = 0; index_num < track->num_indices; index_num++) {
586 const FLAC__StreamMetadata_CueSheet_Index *index = track->indices + index_num;
590 const unsigned logical_frame = (unsigned)((track->offset + index->offset) / (44100 / 75));
597 fprintf(file, "%I64u\n", track->offset + index->offset);
599 fprintf(file, "%llu\n", (unsigned long long)(track->offset + index->offset));