Index: webrtc/modules/audio_coding/include/audio_coding_module.h |
diff --git a/webrtc/modules/audio_coding/include/audio_coding_module.h b/webrtc/modules/audio_coding/include/audio_coding_module.h |
index 30a17f72ea6bf3ed63ee314b36ae34817bb83b3e..5adbe60d00ab5f031abba991c318a90f5ae0abac 100644 |
--- a/webrtc/modules/audio_coding/include/audio_coding_module.h |
+++ b/webrtc/modules/audio_coding/include/audio_coding_module.h |
@@ -679,6 +679,15 @@ class AudioCodingModule { |
virtual rtc::Optional<uint32_t> PlayoutTimestamp() = 0; |
/////////////////////////////////////////////////////////////////////////// |
+ // int FilteredCurrentDelayMs() |
+ // Returns the current total delay from NetEq (packet buffer and sync buffer) |
+ // in ms, with smoothing applied to even out short-time fluctuations due to |
+ // jitter. The packet buffer part of the delay is not updated during DTX/CNG |
+ // periods. |
+ // |
+ virtual int FilteredCurrentDelayMs() const = 0; |
+ |
+ /////////////////////////////////////////////////////////////////////////// |
// int32_t PlayoutData10Ms( |
// Get 10 milliseconds of raw audio data for playout, at the given sampling |
// frequency. ACM will perform a resampling if required. |