Searched refs:mPastMeasurements (Results 1 – 3 of 3) sorted by relevance
146 mPastMeasurements[i].mIsValid = false; in getMeasure()147 mPastMeasurements[i].mPeakU16 = 0; in getMeasure()148 mPastMeasurements[i].mRmsSquared = 0; in getMeasure()156 if (mPastMeasurements[i].mIsValid) { in getMeasure()157 if (mPastMeasurements[i].mPeakU16 > peakU16) { in getMeasure()158 peakU16 = mPastMeasurements[i].mPeakU16; in getMeasure()160 sumRmsSquared += mPastMeasurements[i].mRmsSquared; in getMeasure()245 mPastMeasurements[mMeasurementBufferIdx] = {.mIsValid = true, in process()
98 std::array<BufferStats, kMeasurementWindowMaxSizeInBuffers> mPastMeasurements; variable
104 BufferStats mPastMeasurements[MEASUREMENT_WINDOW_MAX_SIZE_IN_BUFFERS]; member237 pContext->mPastMeasurements[i].mIsValid = false; in Visualizer_init()238 pContext->mPastMeasurements[i].mPeakU16 = 0; in Visualizer_init()239 pContext->mPastMeasurements[i].mRmsSquared = 0; in Visualizer_init()359 pContext->mPastMeasurements[pContext->mMeasurementBufferIdx].mPeakU16 = (uint16_t)maxSample; in Visualizer_process()360 pContext->mPastMeasurements[pContext->mMeasurementBufferIdx].mRmsSquared = in Visualizer_process()362 pContext->mPastMeasurements[pContext->mMeasurementBufferIdx].mIsValid = true; in Visualizer_process()714 pContext->mPastMeasurements[i].mIsValid = false; in Visualizer_command()715 pContext->mPastMeasurements[i].mPeakU16 = 0; in Visualizer_command()716 pContext->mPastMeasurements[i].mRmsSquared = 0; in Visualizer_command()[all …]