get rid of "Llcon"
This commit is contained in:
parent
0841ec12a4
commit
28defb82cb
6 changed files with 15 additions and 15 deletions
|
@ -250,14 +250,14 @@ void CNetBufWithStats::UpdateAutoSetting()
|
||||||
}
|
}
|
||||||
|
|
||||||
// apply non-linear IIR filter
|
// apply non-linear IIR filter
|
||||||
LlconMath().UpDownIIR1 ( dCurIIRFilterResult,
|
MathUtils().UpDownIIR1 ( dCurIIRFilterResult,
|
||||||
static_cast<double> ( iCurDecision ),
|
static_cast<double> ( iCurDecision ),
|
||||||
dWeightUp,
|
dWeightUp,
|
||||||
dWeightDown );
|
dWeightDown );
|
||||||
|
|
||||||
// apply a hysteresis
|
// apply a hysteresis
|
||||||
iCurAutoBufferSizeSetting =
|
iCurAutoBufferSizeSetting =
|
||||||
LlconMath().DecideWithHysteresis ( dCurIIRFilterResult,
|
MathUtils().DecideWithHysteresis ( dCurIIRFilterResult,
|
||||||
iCurDecidedResult,
|
iCurDecidedResult,
|
||||||
dHysteresisValue );
|
dHysteresisValue );
|
||||||
|
|
||||||
|
|
|
@ -319,7 +319,7 @@ void CClient::SetDoAutoSockBufSize ( const bool bValue )
|
||||||
bool CClient::SetServerAddr ( QString strNAddr )
|
bool CClient::SetServerAddr ( QString strNAddr )
|
||||||
{
|
{
|
||||||
CHostAddress HostAddress;
|
CHostAddress HostAddress;
|
||||||
if ( LlconNetwUtil().ParseNetworkAddress ( strNAddr,
|
if ( NetworkUtil().ParseNetworkAddress ( strNAddr,
|
||||||
HostAddress ) )
|
HostAddress ) )
|
||||||
{
|
{
|
||||||
// apply address to the channel
|
// apply address to the channel
|
||||||
|
@ -1231,5 +1231,5 @@ int CClient::EstimatedOverallDelay ( const int iPingTimeMs )
|
||||||
dTotalSoundCardDelayMs +
|
dTotalSoundCardDelayMs +
|
||||||
dAdditionalAudioCodecDelayMs;
|
dAdditionalAudioCodecDelayMs;
|
||||||
|
|
||||||
return LlconMath::round ( dTotalBufferDelayMs + iPingTimeMs );
|
return MathUtils::round ( dTotalBufferDelayMs + iPingTimeMs );
|
||||||
}
|
}
|
||||||
|
|
|
@ -159,7 +159,7 @@ void CConnectDlg::showEvent ( QShowEvent* )
|
||||||
// get the IP address of the central server (using the ParseNetworAddress
|
// get the IP address of the central server (using the ParseNetworAddress
|
||||||
// function) when the connect dialog is opened, this seems to be the correct
|
// function) when the connect dialog is opened, this seems to be the correct
|
||||||
// time to do it
|
// time to do it
|
||||||
if ( LlconNetwUtil().ParseNetworkAddress ( strCentralServerAddress,
|
if ( NetworkUtil().ParseNetworkAddress ( strCentralServerAddress,
|
||||||
CentralServerAddress ) )
|
CentralServerAddress ) )
|
||||||
{
|
{
|
||||||
// send the request for the server list
|
// send the request for the server list
|
||||||
|
@ -371,7 +371,7 @@ void CConnectDlg::OnTimerPing()
|
||||||
|
|
||||||
// try to parse host address string which is stored as user data
|
// try to parse host address string which is stored as user data
|
||||||
// in the server list item GUI control element
|
// in the server list item GUI control element
|
||||||
if ( LlconNetwUtil().ParseNetworkAddress (
|
if ( NetworkUtil().ParseNetworkAddress (
|
||||||
lvwServers->topLevelItem ( iIdx )->
|
lvwServers->topLevelItem ( iIdx )->
|
||||||
data ( 0, Qt::UserRole ).toString(),
|
data ( 0, Qt::UserRole ).toString(),
|
||||||
CurServerAddress ) )
|
CurServerAddress ) )
|
||||||
|
|
|
@ -118,7 +118,7 @@ CServerListManager::CServerListManager ( const quint16 iNPortNum,
|
||||||
true );
|
true );
|
||||||
|
|
||||||
// [server n address]
|
// [server n address]
|
||||||
LlconNetwUtil().ParseNetworkAddress (
|
NetworkUtil().ParseNetworkAddress (
|
||||||
slServInfoSeparateParams[iCurUsedServInfoSplitItems],
|
slServInfoSeparateParams[iCurUsedServInfoSplitItems],
|
||||||
NewServerListEntry.HostAddr );
|
NewServerListEntry.HostAddr );
|
||||||
|
|
||||||
|
@ -469,7 +469,7 @@ void CServerListManager::SlaveServerRegisterServer ( const bool bIsRegister )
|
||||||
// Note that we always have to parse the server address again since if
|
// Note that we always have to parse the server address again since if
|
||||||
// it is an URL of a dynamic IP address, the IP address might have
|
// it is an URL of a dynamic IP address, the IP address might have
|
||||||
// changed in the meanwhile.
|
// changed in the meanwhile.
|
||||||
if ( LlconNetwUtil().ParseNetworkAddress ( strCurCentrServAddr,
|
if ( NetworkUtil().ParseNetworkAddress ( strCurCentrServAddr,
|
||||||
SlaveCurCentServerHostAddress ) )
|
SlaveCurCentServerHostAddress ) )
|
||||||
{
|
{
|
||||||
if ( bIsRegister )
|
if ( bIsRegister )
|
||||||
|
|
|
@ -421,7 +421,7 @@ CLlconHelpMenu::CLlconHelpMenu ( QWidget* parent ) : QMenu ( "&?", parent )
|
||||||
* Other Classes *
|
* Other Classes *
|
||||||
\******************************************************************************/
|
\******************************************************************************/
|
||||||
// Network utility functions ---------------------------------------------------
|
// Network utility functions ---------------------------------------------------
|
||||||
bool LlconNetwUtil::ParseNetworkAddress ( QString strAddress,
|
bool NetworkUtil::ParseNetworkAddress ( QString strAddress,
|
||||||
CHostAddress& HostAddress )
|
CHostAddress& HostAddress )
|
||||||
{
|
{
|
||||||
QHostAddress InetAddr;
|
QHostAddress InetAddr;
|
||||||
|
|
|
@ -851,7 +851,7 @@ public:
|
||||||
|
|
||||||
|
|
||||||
// Network utility functions ---------------------------------------------------
|
// Network utility functions ---------------------------------------------------
|
||||||
class LlconNetwUtil
|
class NetworkUtil
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
static bool ParseNetworkAddress ( QString strAddress,
|
static bool ParseNetworkAddress ( QString strAddress,
|
||||||
|
@ -900,7 +900,7 @@ protected:
|
||||||
|
|
||||||
|
|
||||||
// Mathematics utilities -------------------------------------------------------
|
// Mathematics utilities -------------------------------------------------------
|
||||||
class LlconMath
|
class MathUtils
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
static int round ( double x )
|
static int round ( double x )
|
||||||
|
|
Loading…
Reference in a new issue