Lines Matching defs:total_samples
873 return decoder->private_->has_stream_info? decoder->private_->stream_info.data.stream_info.total_samples : 0;
1195 /* 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))
3009 const FLAC__uint64 total_samples = FLAC__stream_decoder_get_total_samples(decoder);
3050 upper_bound_sample = total_samples > 0 ? total_samples : target_sample /*estimate it*/;
3058 * that have frame_samples==0 or sample_number>=total_samples
3071 (total_samples <= 0 || seek_table->points[i].sample_number < total_samples) && /* defense against bad seekpoints */
3086 (total_samples <= 0 || seek_table->points[i].sample_number < total_samples) && /* defense against bad seekpoints */
3107 * 1) total_samples is 0 (unknown) and target_sample is 0
3108 * 2) total_samples is 0 (unknown) and target_sample happens to be
3179 /* allow one seek over upper bound, so we can get a correct upper_bound_sample for streams with unknown total_samples */
3293 /* this can probably only happen if total_samples is unknown and the