modules/audio_coding/neteq/delay_peak_detector.cc
void DelayPeakDetector::SetPacketAudioLength(int length_ms) {
  if (length_ms > 0) {
    peak_detection_threshold_ = kPeakHeightMs / length_ms;
  }
}
// Calculates the threshold in number of packets.
Calculates the threshold in number of packets.
Calculates the threshold in number of packets .
void DelayPeakDetector::SetPacketAudioLength(int length_ms) {
  if (length_ms > 0) {
    peak_detection_threshold_ = kPeakHeightMs / length_ms;
  }
}
void DelayPeakDetector :: SetPacketAudioLength ( int length_ms ) { if ( length_ms > 0 ) { peak_detection_threshold_ = kPeakHeightMs / length_ms ; } }
Calculates the threshold in number of packets.
Calculates the threshold in number of packets .