diff --git a/lib_com/options.h b/lib_com/options.h index 00612788b50a05f9468c65535ea6e057f424a506..4a8f7d3216b51408a7977fe6497cc240c60a706b 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -189,6 +189,7 @@ #define NONBE_FIX_935_EARLY_REFLECTIONS_WRONG_ORDER /* Qualcomm: issue 953: fix order or ER channels in LC mode*/ #define FIX_956_DECODER_COMMAND_LINE_FIX /* VA: Output correct error message when the decoder command-line has too many mandatory arguments. */ #define FIX_955_FASTCONV_REND_IN_ISM /* VA: put FastConv rendering call under DEBUGGING */ +#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 e855f7fe5f2279a503607a76ebf20d7a3e9d30e9..ef0114c79998897236951021e2f641be9cdb6a19 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; }