aboutsummaryrefslogtreecommitdiffstats
path: root/jitterbuf.h
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-05-09 13:56:43 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-05-09 13:56:43 +0000
commitcabec1d2f6494e831c4780b8cfaae23227989491 (patch)
treee516b2fc71443d94b10f4fa0139e9d4cbd7822ff /jitterbuf.h
parent1bcbf414c6d8c7fd9d03cfc6880d31628a384fc2 (diff)
Jitter buffer improvements (bug #4167)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5610 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'jitterbuf.h')
-rwxr-xr-xjitterbuf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/jitterbuf.h b/jitterbuf.h
index 926a3d19a..aa73e805b 100755
--- a/jitterbuf.h
+++ b/jitterbuf.h
@@ -30,6 +30,10 @@ extern "C" {
#define JB_HISTORY_DROPPCT_MAX 4
/* the size of the buffer we use to keep the top and botton timestamps for dropping */
#define JB_HISTORY_MAXBUF_SZ JB_HISTORY_SZ * JB_HISTORY_DROPPCT_MAX / 100
+ /* amount of additional jitterbuffer adjustment */
+#define JB_TARGET_EXTRA 40
+ /* ms between growing and shrinking; may not be honored if jitterbuffer runs out of space */
+#define JB_ADJUST_DELAY 40
/* return codes */