Searched refs:inIdx (Results 1 – 1 of 1) sorted by relevance
652 uint32_t inIdx; in visualizer_process() local655 for (inIdx = 0 ; inIdx < inBuffer->frameCount * visu_ctxt->channel_count ; inIdx++) { in visualizer_process()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()661 rms_squared_acc += (inBuffer->s16[inIdx] * inBuffer->s16[inIdx]); in visualizer_process()