Home
last modified time | relevance | path

Searched refs:mLatencyCount (Results 1 – 1 of 1) sorted by relevance

/frameworks/av/media/libaaudio/examples/loopback/src/
Dloopback.cpp100 if (mLatencyCount <= 0) { in calculateAverageLatency()
104 for (int i = 0; i < mLatencyCount; i++) { in calculateAverageLatency()
107 double average = sum / mLatencyCount; in calculateAverageLatency()
109 for (int i = 0; i < mLatencyCount; i++) { in calculateAverageLatency()
113 *deviation = sqrt(sum / mLatencyCount); in calculateAverageLatency()
118 int getMeasurementCount() const { return mLatencyCount; } in getMeasurementCount()
162 mLatencyArray[mLatencyCount++] = mCounter; in process()
163 if (mLatencyCount >= MAX_LATENCY_VALUES) { in process()
208 int32_t mLatencyCount = 0; member in LoopbackProcessor