Searched refs:peakIndex (Results 1 – 1 of 1) sorted by relevance
246 int peakIndex = -1; in measureLatencyFromPulse() local251 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()