aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-01-29 16:54:27 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-01-29 16:54:27 +0000
commitf874250d6392281357d8f357e4161fc007f82821 (patch)
tree612a65475a8c8569b2176941c87a29a29a745519 /include
parent2061f7c67b27e4a1382dee603b59ba236f8202ea (diff)
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/branches/1.4@52506 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r--include/jitterbuf.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/jitterbuf.h b/include/jitterbuf.h
index 5694f7b6c..dac903e83 100644
--- a/include/jitterbuf.h
+++ b/include/jitterbuf.h
@@ -103,8 +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) */
-
+ unsigned int dropem:1; /* flag to indicate dropping frames (overload) */
jb_frame *frames; /* queued frames */
jb_frame *free; /* free frames (avoid malloc?) */