Searched refs:frames_needed (Results 1 – 1 of 1) sorted by relevance
40 size_t frames_needed; // minimum number of input frames to produce member92 rsmp->frames_needed = (framesRq * rsmp->in_sample_rate) / rsmp->out_sample_rate + 1; in resampler_resample_from_provider()99 if (rsmp->frames_in < rsmp->frames_needed) { in resampler_resample_from_provider()103 if (rsmp->in_buf_size < rsmp->frames_needed) { in resampler_resample_from_provider()104 rsmp->in_buf_size = rsmp->frames_needed; in resampler_resample_from_provider()109 buf.frame_count = rsmp->frames_needed - rsmp->frames_in; in resampler_resample_from_provider()