Lines Matching refs:cue_sheet
412 FLAC_API FLAC__bool FLAC__format_cuesheet_is_legal(const FLAC__StreamMetadata_CueSheet *cue_sheet, FLAC__bool check_cd_da_subset, const char **violation)
417 if(cue_sheet->lead_in < 2 * 44100) {
421 if(cue_sheet->lead_in % 588 != 0) {
427 if(cue_sheet->num_tracks == 0) {
432 if(check_cd_da_subset && cue_sheet->tracks[cue_sheet->num_tracks-1].number != 170) {
437 for(i = 0; i < cue_sheet->num_tracks; i++) {
438 if(cue_sheet->tracks[i].number == 0) {
444 if(!((cue_sheet->tracks[i].number >= 1 && cue_sheet->tracks[i].number <= 99) || cue_sheet->tracks[i].number == 170)) {
450 if(check_cd_da_subset && cue_sheet->tracks[i].offset % 588 != 0) {
452 if(i == cue_sheet->num_tracks-1) /* the lead-out track... */
460 if(i < cue_sheet->num_tracks - 1) {
461 if(cue_sheet->tracks[i].num_indices == 0) {
466 if(cue_sheet->tracks[i].indices[0].number > 1) {
472 for(j = 0; j < cue_sheet->tracks[i].num_indices; j++) {
473 if(check_cd_da_subset && cue_sheet->tracks[i].indices[j].offset % 588 != 0) {
479 if(cue_sheet->tracks[i].indices[j].number != cue_sheet->tracks[i].indices[j-1].number + 1) {