some PLC fixes
This commit is contained in:
parent
956f4f0334
commit
9ed056295d
3 changed files with 4 additions and 4 deletions
|
@ -1233,8 +1233,8 @@ static void celt_decode_lost(CELTDecoder * __restrict st, celt_word16_t * __rest
|
|||
st->last_pitch_index = pitch_index;
|
||||
} else {
|
||||
pitch_index = st->last_pitch_index;
|
||||
if (st->loss_count < 15)
|
||||
fade = QCONST16(.7f,15);
|
||||
if (st->loss_count < 10)
|
||||
fade = QCONST16(.85f,15);
|
||||
else
|
||||
fade = 0;
|
||||
}
|
||||
|
|
|
@ -97,7 +97,7 @@ bool CNetBuf::Get ( CVector<uint8_t>& vecbyData )
|
|||
// to avoid the unmusical noise resulting from a very short drop
|
||||
// out (note that if you want to change this value, also change
|
||||
// the value in celt_decode_lost in celt.c)
|
||||
iNumInvalidElements = 15;
|
||||
iNumInvalidElements = 10;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -945,7 +945,7 @@ void CLlconClientDlg::UpdateDisplay()
|
|||
|
||||
|
||||
// TEST
|
||||
pClient->GetChannel()->StoreAllSimAverages();
|
||||
//pClient->GetChannel()->StoreAllSimAverages();
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue