Home
last modified time | relevance | path

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

/device/htc/flounder/audio/hal/
Daudio_hw.h347 int16_t *ref_buf; member
Daudio_hw.c1030 … in->ref_buf = (int16_t *)realloc(in->ref_buf, pcm_frames_to_bytes(pcm_device->pcm, frames)); in update_echo_reference()
1031 ALOG_ASSERT((in->ref_buf != NULL), in update_echo_reference()
1034 in->ref_buf, pcm_frames_to_bytes(pcm_device->pcm, frames)); in update_echo_reference()
1037 b.raw = (void *)(in->ref_buf + in->ref_buf_frames * in->config.channels); in update_echo_reference()
1105 buf.raw = in->ref_buf; in push_echo_reference()
1122 memcpy(in->ref_buf, in push_echo_reference()
1123 in->ref_buf + buf.frameCount * in->config.channels, in push_echo_reference()
4395 if (in->ref_buf) { in adev_close_input_stream()
4396 free(in->ref_buf); in adev_close_input_stream()
4397 in->ref_buf = NULL; in adev_close_input_stream()