Home | History | Annotate | Download | only in visualizer

Lines Matching refs:inIdx

324         uint32_t inIdx;
327 for (inIdx = 0 ; inIdx < inBuffer->frameCount * pContext->mChannelCount ; inIdx++) {
328 if (inBuffer->s16[inIdx] > maxSample) {
329 maxSample = inBuffer->s16[inIdx];
330 } else if (-inBuffer->s16[inIdx] > maxSample) {
331 maxSample = -inBuffer->s16[inIdx];
333 rmsSqAcc += (inBuffer->s16[inIdx] * inBuffer->s16[inIdx]);
374 uint32_t inIdx;
376 for (inIdx = 0, captIdx = pContext->mCaptureIdx;
377 inIdx < inBuffer->frameCount;
378 inIdx++, captIdx++) {
383 int32_t smp = inBuffer->s16[2 * inIdx] + inBuffer->s16[2 * inIdx + 1];