Index: webrtc/modules/audio_coding/acm2/acm_receiver.h |
diff --git a/webrtc/modules/audio_coding/acm2/acm_receiver.h b/webrtc/modules/audio_coding/acm2/acm_receiver.h |
index f37212c067b10c0af1e2c933fc650a05c524f4ab..e62e7144d6f9c785a61f42da64b594caa7a87864 100644 |
--- a/webrtc/modules/audio_coding/acm2/acm_receiver.h |
+++ b/webrtc/modules/audio_coding/acm2/acm_receiver.h |
@@ -201,6 +201,13 @@ class AcmReceiver { |
// The return value will be empty if no valid timestamp is available. |
rtc::Optional<uint32_t> GetPlayoutTimestamp(); |
+ // 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. |
+ // |
+ int FilteredCurrentDelayMs() const; |
+ |
// |
// Get the audio codec associated with the last non-CNG/non-DTMF received |
// payload. If no non-CNG/non-DTMF packet is received -1 is returned, |