From 090947c47e6c8c5d6515a1c9e88e8f62d5c7a4f6 Mon Sep 17 00:00:00 2001 From: Boris Grozev <boris@jitsi.org> Date: Mon, 8 Oct 2012 08:46:06 +0000 Subject: [PATCH] Fixes a bug that prevents FEC from being enabled, removes class imports. --- .../neomedia/codec/audio/silk/Silk_control_codec_FLP.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/jitsi/impl/neomedia/codec/audio/silk/Silk_control_codec_FLP.java b/src/org/jitsi/impl/neomedia/codec/audio/silk/Silk_control_codec_FLP.java index c03dbfba..3df2d87d 100644 --- a/src/org/jitsi/impl/neomedia/codec/audio/silk/Silk_control_codec_FLP.java +++ b/src/org/jitsi/impl/neomedia/codec/audio/silk/Silk_control_codec_FLP.java @@ -612,14 +612,14 @@ static void SKP_Silk_LBRR_ctrl_FLP( if (psEnc.sCmn.LBRR_enabled != 0) { /* Control LBRR */ - /* Usage Control based on sensitivity and packet loss caracteristics */ + /* Usage Control based on sensitivity and packet loss characteristics */ /* * For now only enable adding to next for active frames. Make more * complex later */ LBRR_usage = Silk_define.SKP_SILK_NO_LBRR; if (psEnc.speech_activity > Silk_define_FLP.LBRR_SPEECH_ACTIVITY_THRES - && psEnc.sCmn.PacketLoss_perc > Silk_define.LBRR_LOSS_THRES) + && psEnc.sCmn.PacketLoss_perc >= Silk_define.LBRR_LOSS_THRES) { // nb! maybe multiply loss prob and speech activity LBRR_usage = Silk_define.SKP_SILK_ADD_LBRR_TO_PLUS1; } -- GitLab