diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-01-29 17:03:31 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-01-29 17:03:31 +0000 |
commit | c7c5bf49aef631ac08156859f4c491fabc7cd9da (patch) | |
tree | b891ae4e31617119ae3dec9143e07dd23f2c25a5 /include/jitterbuf.h | |
parent | d80f70486cb6d08258763c4661b2a068fbebbcb5 (diff) |
Merged revisions 52494,52506 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r52494 | jdixon | 2007-01-28 22:18:36 -0600 (Sun, 28 Jan 2007) | 4 lines
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.
........
r52506 | russell | 2007-01-29 10:54:27 -0600 (Mon, 29 Jan 2007) | 5 lines
Clean up a few things in the last commit to the adaptive jitterbuffer code.
- Specifically indicate to the compiler that the "dropem" variable only
needs one but.
- Change formatting to conform to coding guidelines.
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@52522 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/jitterbuf.h')
-rw-r--r-- | include/jitterbuf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/jitterbuf.h b/include/jitterbuf.h index 480934692..d2635f3f0 100644 --- a/include/jitterbuf.h +++ b/include/jitterbuf.h @@ -104,7 +104,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? */ - + unsigned int dropem:1; /* flag to indicate dropping frames (overload) */ jb_frame *frames; /* queued frames */ jb_frame *free; /* free frames (avoid malloc?) */ |