Home | History | Annotate | Download | only in libFLAC

Lines Matching refs:total_samples

873 	return decoder->private_->has_stream_info? decoder->private_->stream_info.data.stream_info.total_samples : 0;
1192 /* check this again in case we didn't know total_samples the first time */
1638 if(!FLAC__bitreader_read_raw_uint64(decoder->private_->input, &decoder->private_->stream_info.data.stream_info.total_samples, FLAC__STREAM_METADATA_STREAMINFO_TOTAL_SAMPLES_LEN))
3002 const FLAC__uint64 total_samples = FLAC__stream_decoder_get_total_samples(decoder);
3043 upper_bound_sample = total_samples > 0 ? total_samples : target_sample /*estimate it*/;
3051 * that have frame_samples==0 or sample_number>=total_samples
3064 (total_samples <= 0 || seek_table->points[i].sample_number < total_samples) && /* defense against bad seekpoints */
3079 (total_samples <= 0 || seek_table->points[i].sample_number < total_samples) && /* defense against bad seekpoints */
3100 * 1) total_samples is 0 (unknown) and target_sample is 0
3101 * 2) total_samples is 0 (unknown) and target_sample happens to be
3172 /* allow one seek over upper bound, so we can get a correct upper_bound_sample for streams with unknown total_samples */
3286 /* this can probably only happen if total_samples is unknown and the