Searched refs:cue_sheet (Results 1 – 7 of 7) sorted by relevance
/external/flac/libFLAC/ |
D | format.c | 408 FLAC_API FLAC__bool FLAC__format_cuesheet_is_legal(const FLAC__StreamMetadata_CueSheet *cue_sheet, … in FLAC__format_cuesheet_is_legal() argument 413 if(cue_sheet->lead_in < 2 * 44100) { in FLAC__format_cuesheet_is_legal() 417 if(cue_sheet->lead_in % 588 != 0) { in FLAC__format_cuesheet_is_legal() 423 if(cue_sheet->num_tracks == 0) { in FLAC__format_cuesheet_is_legal() 428 if(check_cd_da_subset && cue_sheet->tracks[cue_sheet->num_tracks-1].number != 170) { in FLAC__format_cuesheet_is_legal() 433 for(i = 0; i < cue_sheet->num_tracks; i++) { in FLAC__format_cuesheet_is_legal() 434 if(cue_sheet->tracks[i].number == 0) { in FLAC__format_cuesheet_is_legal() 440 …if(!((cue_sheet->tracks[i].number >= 1 && cue_sheet->tracks[i].number <= 99) || cue_sheet->tracks[… in FLAC__format_cuesheet_is_legal() 446 if(check_cd_da_subset && cue_sheet->tracks[i].offset % 588 != 0) { in FLAC__format_cuesheet_is_legal() 448 if(i == cue_sheet->num_tracks-1) /* the lead-out track... */ in FLAC__format_cuesheet_is_legal() [all …]
|
D | metadata_object.c | 325 object->length += object->data.cue_sheet.num_tracks * ( in cuesheet_calculate_length_() 335 for(i = 0; i < object->data.cue_sheet.num_tracks; i++) { in cuesheet_calculate_length_() 336 object->length += object->data.cue_sheet.tracks[i].num_indices * ( in cuesheet_calculate_length_() 586 memcpy(&to->data.cue_sheet, &object->data.cue_sheet, sizeof(FLAC__StreamMetadata_CueSheet)); in FLAC__metadata_object_clone() 587 if(object->data.cue_sheet.num_tracks == 0) { in FLAC__metadata_object_clone() 588 FLAC__ASSERT(0 == object->data.cue_sheet.tracks); in FLAC__metadata_object_clone() 591 FLAC__ASSERT(0 != object->data.cue_sheet.tracks); in FLAC__metadata_object_clone() 592 …to->data.cue_sheet.tracks = cuesheet_track_array_copy_(object->data.cue_sheet.tracks, object->data… in FLAC__metadata_object_clone() 593 if(0 == to->data.cue_sheet.tracks) { in FLAC__metadata_object_clone() 662 if(0 != object->data.cue_sheet.tracks) { in FLAC__metadata_object_delete_data() [all …]
|
D | stream_encoder_framing.c | 136 …if(!FLAC__bitwriter_write_byte_block(bw, (const FLAC__byte*)metadata->data.cue_sheet.media_catalog… in FLAC__add_metadata_block() 138 …if(!FLAC__bitwriter_write_raw_uint64(bw, metadata->data.cue_sheet.lead_in, FLAC__STREAM_METADATA_C… in FLAC__add_metadata_block() 140 …if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->data.cue_sheet.is_cd? 1 : 0, FLAC__STREAM_METAD… in FLAC__add_metadata_block() 144 …if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->data.cue_sheet.num_tracks, FLAC__STREAM_METADAT… in FLAC__add_metadata_block() 146 for(i = 0; i < metadata->data.cue_sheet.num_tracks; i++) { in FLAC__add_metadata_block() 147 const FLAC__StreamMetadata_CueSheet_Track *track = metadata->data.cue_sheet.tracks + i; in FLAC__add_metadata_block()
|
D | stream_decoder.c | 1499 if(!read_metadata_cuesheet_(decoder, &block.data.cue_sheet)) in read_metadata_() 1545 if(block.data.cue_sheet.num_tracks > 0) in read_metadata_() 1546 for(i = 0; i < block.data.cue_sheet.num_tracks; i++) in read_metadata_() 1547 if(0 != block.data.cue_sheet.tracks[i].indices) in read_metadata_() 1548 free(block.data.cue_sheet.tracks[i].indices); in read_metadata_() 1549 if(0 != block.data.cue_sheet.tracks) in read_metadata_() 1550 free(block.data.cue_sheet.tracks); in read_metadata_()
|
D | metadata_iterators.c | 2112 return read_metadata_block_data_cuesheet_cb_(handle, read_cb, &block->data.cue_sheet); in read_metadata_block_data_cb_() 2544 return write_metadata_block_data_cuesheet_cb_(handle, write_cb, &block->data.cue_sheet); in write_metadata_block_data_cb_()
|
D | stream_encoder.c | 796 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, …
|