Home
last modified time | relevance | path

Searched refs:is_cdda (Results 1 – 5 of 5) sorted by relevance

/external/flac/src/share/grabbag/
Dcuesheet.c243 …e_read, FLAC__StreamMetadata *cuesheet, uint32_t sample_rate, FLAC__bool is_cdda, FLAC__uint64 lea… in local__cuesheet_parse_() argument
252 FLAC__ASSERT(!is_cdda || sample_rate == 44100); in local__cuesheet_parse_()
254 if(is_cdda && sample_rate != 44100) { in local__cuesheet_parse_()
259 cs->lead_in = is_cdda? 2 * 44100 /* The default lead-in size for CD-DA */ : 0; in local__cuesheet_parse_()
260 cs->is_cd = is_cdda; in local__cuesheet_parse_()
288 if(is_cdda && (strlen(field) != 13 || strspn(field, "0123456789") != 13)) { in local__cuesheet_parse_()
340 if(is_cdda && in_index_num > 99) { in local__cuesheet_parse_()
353 if(is_cdda) { in local__cuesheet_parse_()
372 if(is_cdda && cs->num_tracks == 1 && cs->tracks[0].num_indices == 0 && xx != 0) { in local__cuesheet_parse_()
376 …if(is_cdda && track->num_indices > 0 && (FLAC__uint64)xx <= track->indices[track->num_indices-1].o… in local__cuesheet_parse_()
[all …]
/external/flac/src/test_grabbag/cuesheet/
Dmain.c32 static int do_cuesheet(const char *infilename, uint32_t sample_rate, FLAC__bool is_cdda, FLAC__uint… in do_cuesheet() argument
52 …abbag__cuesheet_parse(fin, &error_message, &last_line_read, sample_rate, is_cdda, lead_out_offset)… in do_cuesheet()
62 if(!FLAC__metadata_object_cuesheet_is_legal(cuesheet, is_cdda, &error_message)) { in do_cuesheet()
88 …abbag__cuesheet_parse(fin, &error_message, &last_line_read, sample_rate, is_cdda, lead_out_offset)… in do_cuesheet()
98 if(!FLAC__metadata_object_cuesheet_is_legal(cuesheet, is_cdda, &error_message)) { in do_cuesheet()
120 FLAC__bool is_cdda = false; in main() local
138 is_cdda = true; in main()
146 return do_cuesheet(argv[1], sample_rate, is_cdda, lead_out_offset); in main()
/external/flac/src/metaflac/
Doperations_shorthand_cuesheet.c33 …ds_write, FLAC__uint64 lead_out_offset, unsigned sample_rate, FLAC__bool is_cdda, Argument_AddSeek…
42 FLAC__bool is_cdda = false; in do_shorthand_operation__cuesheet() local
60is_cdda = (block->data.stream_info.channels == 1 || block->data.stream_info.channels == 2) && (blo… in do_shorthand_operation__cuesheet()
79 …mport_cuesheet_from.filename, needs_write, lead_out_offset, sample_rate, is_cdda, operation->argum… in do_shorthand_operation__cuesheet()
114 …ds_write, FLAC__uint64 lead_out_offset, unsigned sample_rate, FLAC__bool is_cdda, Argument_AddSeek… in import_cs_from() argument
135 …*cuesheet = grabbag__cuesheet_parse(f, &error_message, &last_line_read, sample_rate, is_cdda, lead… in import_cs_from()
151 …if(is_cdda && !FLAC__format_cuesheet_is_legal(&(*cuesheet)->data.cue_sheet, /*check_cd_da_subset=*… in import_cs_from()
/external/flac/include/share/grabbag/
Dcuesheet.h35 …rror_message, uint32_t *last_line_read, uint32_t sample_rate, FLAC__bool is_cdda, FLAC__uint64 lea…
/external/flac/src/flac/
Dencode.c156 …t_filename, const char *inbasefilename, uint32_t sample_rate, FLAC__bool is_cdda, FLAC__uint64 lea…
1769 …const FLAC__bool is_cdda = (channels == 1 || channels == 2) && (bps == 16) && (sample_rate == 4410… in EncoderSession_init_encoder() local
1797 …ata.cuesheet, options.cuesheet_filename, e->inbasefilename, sample_rate, is_cdda, e->total_samples… in EncoderSession_init_encoder()
2608 …t_filename, const char *inbasefilename, uint32_t sample_rate, FLAC__bool is_cdda, FLAC__uint64 lea… in parse_cuesheet() argument
2627 …*cuesheet = grabbag__cuesheet_parse(f, &error_message, &last_line_read, sample_rate, is_cdda, lead… in parse_cuesheet()
2642 …if(is_cdda && !FLAC__format_cuesheet_is_legal(&(*cuesheet)->data.cue_sheet, /*check_cd_da_subset=*… in parse_cuesheet()