aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-06-07 19:52:39 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-06-07 19:52:39 +0000
commit24c72d28ff84ec0ebbe263a1b0eb54732289214c (patch)
tree13b9dfd066c621c75c8f239e7b95cc8dd5719ac7 /include/asterisk
parentee2e0274f269c1c96c70fe0ed862d3cfb251ec58 (diff)
Seems strange (and the code backs up) that if the max and min of a statistic is expressed as a double, the last value would not also need to be a double.
(closes issue #15807) Reported by: klaus3000 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@268773 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk')
-rw-r--r--include/asterisk/rtp_engine.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asterisk/rtp_engine.h b/include/asterisk/rtp_engine.h
index e7b809d4c..c7b433972 100644
--- a/include/asterisk/rtp_engine.h
+++ b/include/asterisk/rtp_engine.h
@@ -235,9 +235,9 @@ struct ast_rtp_instance_stats {
/*! Number of packets received */
unsigned int rxcount;
/*! Jitter on transmitted packets */
- unsigned int txjitter;
+ double txjitter;
/*! Jitter on received packets */
- unsigned int rxjitter;
+ double rxjitter;
/*! Maximum jitter on remote side */
double remote_maxjitter;
/*! Minimum jitter on remote side */
@@ -275,7 +275,7 @@ struct ast_rtp_instance_stats {
/*! Standard deviation packets lost on local side */
double local_stdevrxploss;
/*! Total round trip time */
- unsigned int rtt;
+ double rtt;
/*! Maximum round trip time */
double maxrtt;
/*! Minimum round trip time */