Added configuration of max delay to ACM and NetEq
R=turaj@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1964004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4499 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/webrtc/modules/audio_coding/neteq/automode.h b/webrtc/modules/audio_coding/neteq/automode.h
index 49878c0..16d72e8 100644
--- a/webrtc/modules/audio_coding/neteq/automode.h
+++ b/webrtc/modules/audio_coding/neteq/automode.h
@@ -91,6 +91,9 @@
int minimum_delay_ms; /* Desired delay, NetEq maintains this amount of
delay unless jitter statistics suggests a higher value. */
+ int maximum_delay_ms; /* Max desired delay, NetEq will not go above this
+ amount of delay even if jitter statistics suggests a higher value. */
+
int required_delay_q8; /* Smallest delay required. This is computed
according to inter-arrival time and playout mode. It has the same unit
as |optBufLevel|. */
@@ -121,7 +124,6 @@
int16_t cSumIatQ8; /* cumulative sum of inter-arrival times */
int16_t maxCSumIatQ8; /* max cumulative sum IAT */
uint32_t maxCSumUpdateTimer;/* time elapsed since maximum was observed */
-
} AutomodeInst_t;
/*************/