small clean up
This commit is contained in:
parent
0e04086d37
commit
c841fb31fd
1 changed files with 4 additions and 3 deletions
|
@ -257,6 +257,7 @@ void CNetBufWithStats::UpdateAutoSetting()
|
||||||
// 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