Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/jni/audio_loopback/analyzer/
DLatencyAnalyzer.h246 int peakIndex = -1; in measureLatencyFromPulse() local
251 peakIndex = i; in measureLatencyFromPulse()
254 if (peakIndex < 0) { in measureLatencyFromPulse()
262 int startIndex = std::max(0, peakIndex - margin); in measureLatencyFromPulse()
263 int endIndex = std::min(numCorrelations - 1, peakIndex + margin); in measureLatencyFromPulse()
270 report->latencyInFrames = peakIndex; in measureLatencyFromPulse()