Home
last modified time | relevance | path

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

/device/google/dragon/audio/hal/
Dcras_dsp_pipeline.c114 int peak_buf; member
505 int need_buf = 0, peak_buf = 0; in allocate_buffers() local
517 peak_buf = MAX(peak_buf, need_buf); in allocate_buffers()
521 peak_buf = MAX(peak_buf, need_buf); in allocate_buffers()
526 pipeline->peak_buf = peak_buf; in allocate_buffers()
527 pipeline->buffers = (float **)calloc(peak_buf, sizeof(float *)); in allocate_buffers()
534 for (i = 0; i < peak_buf; i++) { in allocate_buffers()
545 busy = calloc(peak_buf, sizeof(*busy)); in allocate_buffers()
750 return pipeline->peak_buf; in cras_dsp_pipeline_get_peak_audio_buffers()
891 for (i = 0; i < pipeline->peak_buf; i++) in cras_dsp_pipeline_free()