new function interface

This commit is contained in:
Volker Fischer 2011-06-16 11:37:17 +00:00
parent 980b8aae3c
commit 4325c54605
3 changed files with 1010 additions and 1011 deletions

View file

@ -96,7 +96,7 @@ public:
const bool bPreserve = false );
int GetSockBufNumFrames() const { return iCurSockBufNumFrames; }
void UpdateSocketBufferSize ( const double dLocalStdDev );
void UpdateSocketBufferSize();
int GetUploadRateKbps();

View file

@ -962,7 +962,7 @@ fflush(pFileDelay);
CycleTimeVariance.Update();
// update socket buffer size
Channel.UpdateSocketBufferSize ( CycleTimeVariance.GetStdDev() );
Channel.UpdateSocketBufferSize();
}
int CClient::EstimatedOverallDelay ( const int iPingTimeMs )

View file

@ -694,8 +694,7 @@ void CServer::OnTimer()
vecChannels[iCurChanID].GetAddress() );
// update socket buffer size
vecChannels[iCurChanID].UpdateSocketBufferSize (
CycleTimeVariance.GetStdDev() );
vecChannels[iCurChanID].UpdateSocketBufferSize();
}
}
else