small clean up

This commit is contained in:
Volker Fischer 2011-06-16 11:46:45 +00:00
parent 0e04086d37
commit c841fb31fd

View file

@ -255,8 +255,9 @@ void CNetBufWithStats::UpdateAutoSetting()
// the current network condition. If the current error rate estimation // the current network condition. If the current error rate estimation
// is higher, it may be a temporary problem which should not change // is higher, it may be a temporary problem which should not change
// the current jitter buffer size significantly. // the current jitter buffer size significantly.
const double dWeightUp = 0.999995; const double dWeightUp = 0.999995;
const double dWeightDown = 0.9999; const double dWeightDown = 0.9999;
const double dHysteresisValue = 0.1;
// apply non-linear IIR filter // apply non-linear IIR filter
LlconMath().UpDownIIR1( dCurIIRFilterResult, LlconMath().UpDownIIR1( dCurIIRFilterResult,
@ -268,7 +269,7 @@ void CNetBufWithStats::UpdateAutoSetting()
iCurAutoBufferSizeSetting = iCurAutoBufferSizeSetting =
LlconMath().DecideWithHysteresis ( dCurIIRFilterResult, LlconMath().DecideWithHysteresis ( dCurIIRFilterResult,
iCurDecidedResult, iCurDecidedResult,
0.1 ); dHysteresisValue );
} }
/* /*