Home | History | Annotate | Download | only in libFLAC

Lines Matching refs:cue_sheet

325 	object->length += object->data.cue_sheet.num_tracks * (
335 for(i = 0; i < object->data.cue_sheet.num_tracks; i++) {
336 object->length += object->data.cue_sheet.tracks[i].num_indices * (
586 memcpy(&to->data.cue_sheet, &object->data.cue_sheet, sizeof(FLAC__StreamMetadata_CueSheet));
587 if(object->data.cue_sheet.num_tracks == 0) {
588 FLAC__ASSERT(0 == object->data.cue_sheet.tracks);
591 FLAC__ASSERT(0 != object->data.cue_sheet.tracks);
592 to->data.cue_sheet.tracks = cuesheet_track_array_copy_(object->data.cue_sheet.tracks, object->data.cue_sheet.num_tracks);
593 if(0 == to->data.cue_sheet.tracks) {
662 if(0 != object->data.cue_sheet.tracks) {
663 FLAC__ASSERT(object->data.cue_sheet.num_tracks > 0);
664 cuesheet_track_array_delete_(object->data.cue_sheet.tracks, object->data.cue_sheet.num_tracks);
895 return compare_block_data_cuesheet_(&block1->data.cue_sheet, &block2->data.cue_sheet);
1473 FLAC__ASSERT(track_num < object->data.cue_sheet.num_tracks);
1475 track = &object->data.cue_sheet.tracks[track_num];
1518 FLAC__ASSERT(track_num < object->data.cue_sheet.num_tracks);
1519 FLAC__ASSERT(index_num <= object->data.cue_sheet.tracks[track_num].num_indices);
1521 track = &object->data.cue_sheet.tracks[track_num];
1547 FLAC__ASSERT(track_num < object->data.cue_sheet.num_tracks);
1548 FLAC__ASSERT(index_num < object->data.cue_sheet.tracks[track_num].num_indices);
1550 track = &object->data.cue_sheet.tracks[track_num];
1565 if(0 == object->data.cue_sheet.tracks) {
1566 FLAC__ASSERT(object->data.cue_sheet.num_tracks == 0);
1569 else if(0 == (object->data.cue_sheet.tracks = cuesheet_track_array_new_(new_num_tracks)))
1573 const size_t old_size = object->data.cue_sheet.num_tracks * sizeof(FLAC__StreamMetadata_CueSheet_Track);
1580 FLAC__ASSERT(object->data.cue_sheet.num_tracks > 0);
1583 if(new_num_tracks < object->data.cue_sheet.num_tracks) {
1585 for(i = new_num_tracks; i < object->data.cue_sheet.num_tracks; i++)
1586 if(0 != object->data.cue_sheet.tracks[i].indices)
1587 free(object->data.cue_sheet.tracks[i].indices);
1591 free(object->data.cue_sheet.tracks);
1592 object->data.cue_sheet.tracks = 0;
1594 else if(0 == (object->data.cue_sheet.tracks = (FLAC__StreamMetadata_CueSheet_Track*)realloc(object->data.cue_sheet.tracks, new_size)))
1599 memset(object->data.cue_sheet.tracks + object->data.cue_sheet.num_tracks, 0, new_size - old_size);
1602 object->data.cue_sheet.num_tracks = new_num_tracks;
1611 FLAC__ASSERT(track_num < object->data.cue_sheet.num_tracks);
1613 return cuesheet_set_track_(object, object->data.cue_sheet.tracks + track_num, track, copy);
1622 FLAC__ASSERT(track_num <= object->data.cue_sheet.num_tracks);
1624 cs = &object->data.cue_sheet;
1650 FLAC__ASSERT(track_num < object->data.cue_sheet.num_tracks);
1652 cs = &object->data.cue_sheet;
1671 return FLAC__format_cuesheet_is_legal(&object->data.cue_sheet, check_cd_da_subset, violation);
1706 cs = &object->data.cue_sheet;