Searched refs:cue_sheet (Results 1 – 7 of 7) sorted by relevance
/external/flac/libFLAC/ |
D | format.c | 412 FLAC_API FLAC__bool FLAC__format_cuesheet_is_legal(const FLAC__StreamMetadata_CueSheet *cue_sheet, … in FLAC__format_cuesheet_is_legal() argument 417 if(cue_sheet->lead_in < 2 * 44100) { in FLAC__format_cuesheet_is_legal() 421 if(cue_sheet->lead_in % 588 != 0) { in FLAC__format_cuesheet_is_legal() 427 if(cue_sheet->num_tracks == 0) { in FLAC__format_cuesheet_is_legal() 432 if(check_cd_da_subset && cue_sheet->tracks[cue_sheet->num_tracks-1].number != 170) { in FLAC__format_cuesheet_is_legal() 437 for(i = 0; i < cue_sheet->num_tracks; i++) { in FLAC__format_cuesheet_is_legal() 438 if(cue_sheet->tracks[i].number == 0) { in FLAC__format_cuesheet_is_legal() 444 …if(!((cue_sheet->tracks[i].number >= 1 && cue_sheet->tracks[i].number <= 99) || cue_sheet->tracks[… in FLAC__format_cuesheet_is_legal() 450 if(check_cd_da_subset && cue_sheet->tracks[i].offset % 588 != 0) { in FLAC__format_cuesheet_is_legal() 452 if(i == cue_sheet->num_tracks-1) /* the lead-out track... */ in FLAC__format_cuesheet_is_legal() [all …]
|
D | metadata_object.c | 324 object->length += object->data.cue_sheet.num_tracks * ( in cuesheet_calculate_length_() 334 for (i = 0; i < object->data.cue_sheet.num_tracks; i++) { in cuesheet_calculate_length_() 335 object->length += object->data.cue_sheet.tracks[i].num_indices * ( in cuesheet_calculate_length_() 581 memcpy(&to->data.cue_sheet, &object->data.cue_sheet, sizeof(FLAC__StreamMetadata_CueSheet)); in FLAC__metadata_object_clone() 582 if (object->data.cue_sheet.num_tracks == 0) { in FLAC__metadata_object_clone() 583 FLAC__ASSERT(object->data.cue_sheet.tracks == NULL); in FLAC__metadata_object_clone() 586 FLAC__ASSERT(object->data.cue_sheet.tracks != 0); in FLAC__metadata_object_clone() 587 …to->data.cue_sheet.tracks = cuesheet_track_array_copy_(object->data.cue_sheet.tracks, object->data… in FLAC__metadata_object_clone() 588 if (to->data.cue_sheet.tracks == NULL) { in FLAC__metadata_object_clone() 659 if (object->data.cue_sheet.tracks != NULL) { in FLAC__metadata_object_delete_data() [all …]
|
D | stream_encoder_framing.c | 141 …if(!FLAC__bitwriter_write_byte_block(bw, (const FLAC__byte*)metadata->data.cue_sheet.media_catalog… in FLAC__add_metadata_block() 143 …if(!FLAC__bitwriter_write_raw_uint64(bw, metadata->data.cue_sheet.lead_in, FLAC__STREAM_METADATA_C… in FLAC__add_metadata_block() 145 …if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->data.cue_sheet.is_cd? 1 : 0, FLAC__STREAM_METAD… in FLAC__add_metadata_block() 149 …if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->data.cue_sheet.num_tracks, FLAC__STREAM_METADAT… in FLAC__add_metadata_block() 151 for(i = 0; i < metadata->data.cue_sheet.num_tracks; i++) { in FLAC__add_metadata_block() 152 const FLAC__StreamMetadata_CueSheet_Track *track = metadata->data.cue_sheet.tracks + i; in FLAC__add_metadata_block()
|
D | stream_decoder.c | 1486 if(!read_metadata_cuesheet_(decoder, &block.data.cue_sheet)) in read_metadata_() 1532 if(block.data.cue_sheet.num_tracks > 0) in read_metadata_() 1533 for(i = 0; i < block.data.cue_sheet.num_tracks; i++) in read_metadata_() 1534 if(0 != block.data.cue_sheet.tracks[i].indices) in read_metadata_() 1535 free(block.data.cue_sheet.tracks[i].indices); in read_metadata_() 1536 if(0 != block.data.cue_sheet.tracks) in read_metadata_() 1537 free(block.data.cue_sheet.tracks); in read_metadata_()
|
D | metadata_iterators.c | 2169 return read_metadata_block_data_cuesheet_cb_(handle, read_cb, &block->data.cue_sheet); in read_metadata_block_data_cb_() 2634 return write_metadata_block_data_cuesheet_cb_(handle, write_cb, &block->data.cue_sheet); in write_metadata_block_data_cb_()
|
D | stream_encoder.c | 793 if(!FLAC__format_cuesheet_is_legal(&m->data.cue_sheet, m->data.cue_sheet.is_cd, /*violation=*/0)) in init_stream_internal_()
|
/external/flac/include/FLAC/ |
D | format.h | 852 FLAC__StreamMetadata_CueSheet cue_sheet; member 999 FLAC_API FLAC__bool FLAC__format_cuesheet_is_legal(const FLAC__StreamMetadata_CueSheet *cue_sheet, …
|