Lines Matching refs:inIdx
652 uint32_t inIdx;
655 for (inIdx = 0 ; inIdx < inBuffer->frameCount * visu_ctxt->channel_count ; inIdx++) {
656 if (inBuffer->s16[inIdx] > max_sample) {
657 max_sample = inBuffer->s16[inIdx];
658 } else if (-inBuffer->s16[inIdx] > max_sample) {
659 max_sample = -inBuffer->s16[inIdx];
661 rms_squared_acc += (inBuffer->s16[inIdx] * inBuffer->s16[inIdx]);