aboutsummaryrefslogtreecommitdiffstats
path: root/jitterbuf.h
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-06-21 01:20:14 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-06-21 01:20:14 +0000
commitb2bd8eb06ed5eb2ceaa4ddc871e6cba36685e52c (patch)
treea0a81d5f0c11657fd9408066419f7dd192bed7ee /jitterbuf.h
parent2d0f688cafaebbbc21901710ab13edcf292c4d61 (diff)
control maximum number of interpolation frames generated during silence by jitterbuffer (bug #4295)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5951 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'jitterbuf.h')
-rwxr-xr-xjitterbuf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/jitterbuf.h b/jitterbuf.h
index 89d21e20a..cd8be0d0d 100755
--- a/jitterbuf.h
+++ b/jitterbuf.h
@@ -55,6 +55,7 @@ typedef struct jb_conf {
/* settings */
long max_jitterbuf; /* defines a hard clamp to use in setting the jitter buffer delay */
long resync_threshold; /* the jb will resync when delay increases to (2 * jitter) + this param */
+ long max_contig_interp; /* the max interp frames to return in a row */
} jb_conf;
typedef struct jb_info {
@@ -80,6 +81,7 @@ typedef struct jb_info {
long last_delay; /* the last now added to history */
long cnt_delay_discont; /* the count of discontinuous delays */
long resync_offset; /* the amount to offset ts to support resyncs */
+ long cnt_contig_interp; /* the number of contiguous interp frames returned */
} jb_info;
typedef struct jb_frame {