small clean up
This commit is contained in:
parent
0e04086d37
commit
c841fb31fd
1 changed files with 4 additions and 3 deletions
|
@ -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 );
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue