Searched refs:captIdx (Results 1 – 2 of 2) sorted by relevance
284 uint32_t captIdx; in process() local286 for (inIdx = 0, captIdx = mCaptureIdx; inIdx < (unsigned)samples; captIdx++) { in process()288 if (captIdx >= kMaxCaptureBufSize) { in process()289 captIdx = 0; in process()296 mCaptureBuf[captIdx] = clamp8_from_float(smp * fscale); in process()301 mCaptureIdx = captIdx; in process()
429 uint32_t captIdx; in Visualizer_process() local432 for (inIdx = 0, captIdx = pContext->mCaptureIdx; in Visualizer_process()434 captIdx++) { in Visualizer_process()435 if (captIdx >= CAPTURE_BUF_SIZE) captIdx = 0; // wrap in Visualizer_process()442 buf[captIdx] = clamp8_from_float(smp * fscale); in Visualizer_process()446 buf[captIdx] = ((uint8_t)smp)^0x80; in Visualizer_process()452 pContext->mCaptureIdx = captIdx; in Visualizer_process()