Home
last modified time | relevance | path

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

/device/htc/flounder/audio/visualizer/
Dnv_offload_visualizer.c653 int16_t max_sample = 0; in visualizer_process() local
656 if (inBuffer->s16[inIdx] > max_sample) { in visualizer_process()
657 max_sample = inBuffer->s16[inIdx]; in visualizer_process()
658 } else if (-inBuffer->s16[inIdx] > max_sample) { in visualizer_process()
659 max_sample = -inBuffer->s16[inIdx]; in visualizer_process()
664 visu_ctxt->past_meas[visu_ctxt->meas_buffer_idx].peak_u16 = (uint16_t)max_sample; in visualizer_process()