bug fix
This commit is contained in:
parent
94c27493c2
commit
e9a52a83ff
1 changed files with 406 additions and 405 deletions
|
@ -315,9 +315,10 @@ void CClientSettingsDlg::OnPingTimeResult ( int iPingTime )
|
||||||
3 * pClient->GetSndCrdActualMonoBlSize() *
|
3 * pClient->GetSndCrdActualMonoBlSize() *
|
||||||
1000 / SYSTEM_SAMPLE_RATE;
|
1000 / SYSTEM_SAMPLE_RATE;
|
||||||
|
|
||||||
|
// network packets are of the same size as the audio packets per definition
|
||||||
const double dDelayToFillNetworkPackets =
|
const double dDelayToFillNetworkPackets =
|
||||||
SYSTEM_BLOCK_DURATION_MS_FLOAT *
|
pClient->GetSndCrdActualMonoBlSize() *
|
||||||
pClient->GetSndCrdPrefFrameSizeFactor();
|
1000 / SYSTEM_SAMPLE_RATE;
|
||||||
|
|
||||||
// CELT additional delay at small frame sizes is half a frame size
|
// CELT additional delay at small frame sizes is half a frame size
|
||||||
const double dAdditionalAudioCodecDelay =
|
const double dAdditionalAudioCodecDelay =
|
||||||
|
|
Loading…
Reference in a new issue