summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2010-06-07 19:52:39 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2010-06-07 19:52:39 +0000
commit17bd11b8aada4827580aec9d41abc5b8d0a836cc (patch)
tree13b9dfd066c621c75c8f239e7b95cc8dd5719ac7 /include
parent0c5bce53ada28bb634077de2426d1a16db6e0196 (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: https://origsvn.digium.com/svn/asterisk/trunk@268773 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-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 */