Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/examples/loopback/src/
DLoopbackAnalyzer.h252 float maxCorrelation = 0.0; in measureLatencyFromEchos() local
255 if (harmonicSums[i] > maxCorrelation) { in measureLatencyFromEchos()
256 maxCorrelation = harmonicSums[i]; in measureLatencyFromEchos()
274 if (maxCorrelation < 0.001) { in measureLatencyFromEchos()
287 const double ratio = average / maxCorrelation; // will be < 1.0 in measureLatencyFromEchos()