Home
last modified time | relevance | path

Searched refs:inFrames (Results 1 – 2 of 2) sorted by relevance

/system/media/audio_utils/
Decho_reference.c187 size_t inFrames; in echo_reference_write() local
193 inFrames = buffer->frame_count; in echo_reference_write()
196 inFrames = (buffer->frame_count * er->rd_sampling_rate) / er->wr_sampling_rate + in echo_reference_write()
200 if (inFrames > wrBufSize) { in echo_reference_write()
201 wrBufSize = inFrames; in echo_reference_write()
261 (int16_t *)er->wr_buf, &inFrames); in echo_reference_write()
268 inFrames = buffer->frame_count; in echo_reference_write()
272 if (er->frames_in + inFrames > er->buf_size) { in echo_reference_write()
274 er->buf_size, er->frames_in + inFrames); in echo_reference_write()
275 er->buf_size = er->frames_in + inFrames; in echo_reference_write()
[all …]
Dresampler.c97 spx_uint32_t inFrames = 0; in resampler_resample_from_provider() local
122 inFrames = rsmp->frames_in; in resampler_resample_from_provider()
127 &inFrames, in resampler_resample_from_provider()
133 &inFrames, in resampler_resample_from_provider()
138 rsmp->frames_in -= inFrames; in resampler_resample_from_provider()
145 rsmp->in_buf + inFrames * rsmp->channel_count, in resampler_resample_from_provider()