From 54e74ff81b730c0f3576f3d80b1a715deee6f6f3 Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Tue, 21 Jun 2005 01:20:14 +0000 Subject: control maximum number of interpolation frames generated during silence by jitterbuffer (bug #4295) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5951 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- jitterbuf.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'jitterbuf.h') 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 { -- cgit v1.2.3