some PLC fixes

This commit is contained in:
Volker Fischer 2011-06-17 20:52:17 +00:00
parent 956f4f0334
commit 9ed056295d
3 changed files with 4 additions and 4 deletions

View file

@ -1233,8 +1233,8 @@ static void celt_decode_lost(CELTDecoder * __restrict st, celt_word16_t * __rest
st->last_pitch_index = pitch_index; st->last_pitch_index = pitch_index;
} else { } else {
pitch_index = st->last_pitch_index; pitch_index = st->last_pitch_index;
if (st->loss_count < 15) if (st->loss_count < 10)
fade = QCONST16(.7f,15); fade = QCONST16(.85f,15);
else else
fade = 0; fade = 0;
} }

View file

@ -97,7 +97,7 @@ bool CNetBuf::Get ( CVector<uint8_t>& vecbyData )
// to avoid the unmusical noise resulting from a very short drop // to avoid the unmusical noise resulting from a very short drop
// out (note that if you want to change this value, also change // out (note that if you want to change this value, also change
// the value in celt_decode_lost in celt.c) // the value in celt_decode_lost in celt.c)
iNumInvalidElements = 15; iNumInvalidElements = 10;
return false; return false;
} }

View file

@ -945,7 +945,7 @@ void CLlconClientDlg::UpdateDisplay()
// TEST // TEST
pClient->GetChannel()->StoreAllSimAverages(); //pClient->GetChannel()->StoreAllSimAverages();
} }