Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_coding/neteq/
Ddelay_peak_detector.cc29 peak_period_counter_ms_(-1) { in DelayPeakDetector()
33 peak_period_counter_ms_ = -1; // Indicate that next peak is the first. in Reset()
71 if (peak_period_counter_ms_ == -1) { in Update()
73 peak_period_counter_ms_ = 0; in Update()
74 } else if (peak_period_counter_ms_ <= kMaxPeakPeriodMs) { in Update()
78 peak_data.period_ms = peak_period_counter_ms_; in Update()
85 peak_period_counter_ms_ = 0; in Update()
86 } else if (peak_period_counter_ms_ <= 2 * kMaxPeakPeriodMs) { in Update()
89 peak_period_counter_ms_ = 0; in Update()
101 if (peak_period_counter_ms_ >= 0) { in IncrementCounter()
[all …]
Ddelay_peak_detector.h70 int peak_period_counter_ms_; variable