From 9ed056295d83d6db763f6fffe44d9b1cc71c4d9a Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Fri, 17 Jun 2011 20:52:17 +0000 Subject: [PATCH] some PLC fixes --- libs/celt/celt.c | 4 ++-- src/buffer.cpp | 2 +- src/llconclientdlg.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/celt/celt.c b/libs/celt/celt.c index feaff519..1c09825e 100755 --- a/libs/celt/celt.c +++ b/libs/celt/celt.c @@ -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; } diff --git a/src/buffer.cpp b/src/buffer.cpp index fbfa9299..13c9e441 100755 --- a/src/buffer.cpp +++ b/src/buffer.cpp @@ -97,7 +97,7 @@ bool CNetBuf::Get ( CVector& 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; } diff --git a/src/llconclientdlg.cpp b/src/llconclientdlg.cpp index bc39724d..4c10580c 100755 --- a/src/llconclientdlg.cpp +++ b/src/llconclientdlg.cpp @@ -945,7 +945,7 @@ void CLlconClientDlg::UpdateDisplay() // TEST -pClient->GetChannel()->StoreAllSimAverages(); +//pClient->GetChannel()->StoreAllSimAverages(); }