Searched refs:frames_in (Results 1 – 2 of 2) sorted by relevance
52 size_t frames_in; // number of frames in main buffer member119 er->frames_in = 0; in echo_reference_reset_l()266 if (er->frames_in + inFrames > er->buf_size) { in echo_reference_write()268 er->buf_size, er->frames_in + inFrames); in echo_reference_write()269 er->buf_size = er->frames_in + inFrames; in echo_reference_write()272 memcpy((char *)er->buffer + er->frames_in * er->rd_frame_size, in echo_reference_write()275 er->frames_in += inFrames; in echo_reference_write()279 inFrames, er->frames_in, er->buf_size, in echo_reference_write()315 buffer->delay_ns, er->frames_in, buffer->frame_count); in echo_reference_read()332 if (er->frames_in < buffer->frame_count) { in echo_reference_read()[all …]
38 size_t frames_in; // number of frames in input buffer member54 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()[all …]