Home | History | Annotate | Download | only in hal

Lines Matching refs:ref_buf

1009             in->ref_buf = (int16_t *)realloc(in->ref_buf, pcm_frames_to_bytes(pcm_device->pcm, frames));
1010 ALOG_ASSERT((in->ref_buf != NULL),
1011 "update_echo_reference() failed to reallocate ref_buf");
1012 ALOGVV("update_echo_reference(): ref_buf %p extended to %d bytes",
1013 in->ref_buf, pcm_frames_to_bytes(pcm_device->pcm, frames));
1016 b.raw = (void *)(in->ref_buf + in->ref_buf_frames * in->config.channels);
1073 * in->ref_buf_frames is updated with frames available in in->ref_buf */
1084 buf.raw = in->ref_buf;
1101 memcpy(in->ref_buf,
1102 in->ref_buf + buf.frameCount * in->config.channels,
4177 if (in->ref_buf) {
4178 free(in->ref_buf);
4179 in->ref_buf = NULL;