Home | History | Annotate | Download | only in libFLAC

Lines Matching refs:last_frame

201 	FLAC__Frame last_frame; /* holds the info of the last frame we seeked to */
2930 decoder->private_->last_frame = *frame; /* save the frame */
2941 decoder->private_->last_frame.header.blocksize -= delta;
2942 decoder->private_->last_frame.header.number.sample_number += (FLAC__uint64)delta;
2944 return decoder->private_->write_callback(decoder, &decoder->private_->last_frame, newbuffer, decoder->private_->client_data);
3149 FLAC__ASSERT(decoder->private_->last_frame.header.number_type == FLAC__FRAME_NUMBER_TYPE_SAMPLE_NUMBER);
3150 this_frame_sample = decoder->private_->last_frame.header.number.sample_number;
3152 if (0 == decoder->private_->samples_decoded || (this_frame_sample + decoder->private_->last_frame.header.blocksize >= upper_bound_sample && !first_seek)) {
3173 upper_bound_sample = this_frame_sample + decoder->private_->last_frame.header.blocksize;
3182 lower_bound_sample = this_frame_sample + decoder->private_->last_frame.header.blocksize;
3293 this_frame_sample = decoder->private_->last_frame.header.number.sample_number;
3294 FLAC__ASSERT(decoder->private_->last_frame.header.number_type == FLAC__FRAME_NUMBER_TYPE_SAMPLE_NUMBER);