Lines Matching refs:inIdx
727 uint32_t inIdx;
730 for (inIdx = 0 ; inIdx < inBuffer->frameCount * visu_ctxt->channel_count ; inIdx++) {
731 if (inBuffer->s16[inIdx] > max_sample) {
732 max_sample = inBuffer->s16[inIdx];
733 } else if (-inBuffer->s16[inIdx] > max_sample) {
734 max_sample = -inBuffer->s16[inIdx];
736 rms_squared_acc += (inBuffer->s16[inIdx] * inBuffer->s16[inIdx]);