Lines Matching refs:frames
37 size_t frames_in; // number of frames in input buffer
38 size_t frames_rq; // cached number of output frames
39 size_t frames_needed; // minimum number of input frames to produce
40 // frames_rq output frames
71 // outputs a number of frames less or equal to *outFrameCount and updates *outFrameCount
72 // with the actual number of frames produced.
88 // update and cache the number of frames needed at the input sampling rate to produce
89 // the number of frames requested at the output sampling rate
99 // make sure that the number of frames present in rsmp->in_buf (rsmp->frames_in) is at
100 // least the number of frames needed to produce the number of frames requested at
139 "ReSampler::resample() remaining %d frames in and %d frames out",
239 int frames = speex_resampler_get_input_latency(rsmp->speex_resampler);
240 rsmp->speex_delay_ns = (int32_t)((1000000000 * (int64_t)frames) / rsmp->in_sample_rate);
241 frames = speex_resampler_get_output_latency(rsmp->speex_resampler);
242 rsmp->speex_delay_ns += (int32_t)((1000000000 * (int64_t)frames) / rsmp->out_sample_rate);