Searched refs:cue_sheet (Results 1 – 5 of 5) 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 | 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 | 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, …
|