diff --git a/apps/app_queue.c b/apps/app_queue.c index 01fdcf3aa9..688ffed134 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -394,7 +394,7 @@ struct call_queue { int announcefrequency; /*!< How often to announce their position */ int periodicannouncefrequency; /*!< How often to play periodic announcement */ int roundingseconds; /*!< How many seconds do we round to? */ - int holdtime; /*!< Current avg holdtime, based on recursive boxcar filter */ + int holdtime; /*!< Current avg holdtime, based on an exponential average */ int callscompleted; /*!< Number of queue calls completed */ int callsabandoned; /*!< Number of queue calls abandoned */ int servicelevel; /*!< seconds setting for servicelevel*/ @@ -1627,7 +1627,7 @@ static void recalc_holdtime(struct queue_ent *qe, int newholdtime) { int oldvalue; - /* Calculate holdtime using a recursive boxcar filter */ + /* Calculate holdtime using an exponential average */ /* Thanks to SRT for this contribution */ /* 2^2 (4) is the filter coefficient; a higher exponent would give old entries more weight */