Lines Matching defs:total_samples
899 return decoder->private_->has_stream_info? decoder->private_->stream_info.data.stream_info.total_samples : 0;
1220 /* check this again in case we didn't know total_samples the first time */
1657 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))
2987 const FLAC__uint64 total_samples = FLAC__stream_decoder_get_total_samples(decoder);
3028 upper_bound_sample = total_samples > 0 ? total_samples : target_sample /*estimate it*/;
3036 * that have frame_samples==0 or sample_number>=total_samples
3049 (total_samples <= 0 || seek_table->points[i].sample_number < total_samples) && /* defense against bad seekpoints */
3064 (total_samples <= 0 || seek_table->points[i].sample_number < total_samples) && /* defense against bad seekpoints */
3085 * 1) total_samples is 0 (unknown) and target_sample is 0
3086 * 2) total_samples is 0 (unknown) and target_sample happens to be
3162 /* allow one seek over upper bound, so we can get a correct upper_bound_sample for streams with unknown total_samples */
3281 /* this can probably only happen if total_samples is unknown and the