From ebce658f92e1ca894db6db05fe207c42afa93082 Mon Sep 17 00:00:00 2001 From: Erik Norvell Date: Mon, 24 Mar 2025 08:00:47 +0100 Subject: [PATCH] Add fix FIX_958_667_DISABLE_INITIAL_PLC_SUPPRESSION to align with BASOP --- lib_com/options.h | 2 ++ lib_dec/lib_dec.c | 3 +++ 2 files changed, 5 insertions(+) diff --git a/lib_com/options.h b/lib_com/options.h index ee26612db..b0ecae23a 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -204,6 +204,8 @@ #define FIX_929_RENDERER_CMDL /* Nokia: issue #929: renderer command line option */ #define NONBE_FIX_BINAURAL_ROOM_IR_REVERBERATOR /* FhG: re-enable acidentially disabled reverberator for BINAURAL_ROOM_IR */ #define NONBE_FIX_1058_DECODER_ERROR_WITH_REVERB_ROOM /* FhG: issue 1058: do not initialize EFAP when IntSetup is HOA3 */ +#define FIX_958_667_DISABLE_INITIAL_PLC_SUPPRESSION /* Ericsson: Fix related to issue 667 in IVAS BASOP. Handling of initial lost frame in IVAS causes non-BE on EVS BASOP 26.444 */ + /* #################### End BASOP porting switches ############################ */ diff --git a/lib_dec/lib_dec.c b/lib_dec/lib_dec.c index cd44341d9..b3ad56c29 100644 --- a/lib_dec/lib_dec.c +++ b/lib_dec/lib_dec.c @@ -221,6 +221,9 @@ ivas_error IVAS_DEC_Open( st_ivas->transport_config = IVAS_AUDIO_CONFIG_INVALID; st_ivas->intern_config = IVAS_AUDIO_CONFIG_INVALID; st_ivas->writeFECoffset = 0; +#ifdef FIX_958_667_DISABLE_INITIAL_PLC_SUPPRESSION + hIvasDec->hasDecodedFirstGoodFrame = true; /* Functionality to suppress output for initial lost frames is disabled in EVS operation */ +#endif return IVAS_ERR_OK; } -- GitLab