Lines Matching refs:frames_in
38 size_t frames_in; // number of frames in input buffer member
54 rsmp->frames_in = 0; in resampler_reset()
66 int32_t delay = (int32_t)((1000000000 * (int64_t)rsmp->frames_in) / rsmp->in_sample_rate); in resampler_delay_ns()
99 if (rsmp->frames_in < rsmp->frames_needed) { in resampler_resample_from_provider()
109 buf.frame_count = rsmp->frames_needed - rsmp->frames_in; in resampler_resample_from_provider()
114 memcpy(rsmp->in_buf + rsmp->frames_in * rsmp->channel_count, in resampler_resample_from_provider()
117 rsmp->frames_in += buf.frame_count; in resampler_resample_from_provider()
122 inFrames = rsmp->frames_in; in resampler_resample_from_provider()
138 rsmp->frames_in -= inFrames; in resampler_resample_from_provider()
139 ALOGW_IF((framesWr != framesRq) && (rsmp->frames_in != 0), in resampler_resample_from_provider()
141 rsmp->frames_in, (framesRq - framesWr)); in resampler_resample_from_provider()
143 if (rsmp->frames_in) { in resampler_resample_from_provider()
146 rsmp->frames_in * rsmp->channel_count * sizeof(int16_t)); in resampler_resample_from_provider()