aboutsummaryrefslogtreecommitdiffstats
path: root/include/jitterbuf.h
diff options
context:
space:
mode:
authorjdixon <jdixon@f38db490-d61c-443f-a65b-d21fe96a405b>2007-01-29 04:18:36 +0000
committerjdixon <jdixon@f38db490-d61c-443f-a65b-d21fe96a405b>2007-01-29 04:18:36 +0000
commit2061f7c67b27e4a1382dee603b59ba236f8202ea (patch)
treea84e4100c6244050a6aa3538e5784ef494a4687e /include/jitterbuf.h
parentb2e0845b8da4d9bb620b037d342a93a8ccca3d91 (diff)
Fixed problem with jitterbuf, whereas it would not complain about, and
would allow itself to be overfilled (per the max_jitterbuf parameter). Now it rejects any data over and above that size, and complains about it. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@52494 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/jitterbuf.h')
-rw-r--r--include/jitterbuf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/jitterbuf.h b/include/jitterbuf.h
index 3213534d0..5694f7b6c 100644
--- a/include/jitterbuf.h
+++ b/include/jitterbuf.h
@@ -103,6 +103,7 @@ typedef struct jitterbuf {
long hist_maxbuf[JB_HISTORY_MAXBUF_SZ]; /* a sorted buffer of the max delays (highest first) */
long hist_minbuf[JB_HISTORY_MAXBUF_SZ]; /* a sorted buffer of the min delays (lowest first) */
int hist_maxbuf_valid; /* are the "maxbuf"/minbuf valid? */
+ int dropem; /* flag to indicate dropping frames (overload) */
jb_frame *frames; /* queued frames */