From e2c389547fcf13fc865472dd506620d06bb818da Mon Sep 17 00:00:00 2001 From: Erik Norvell Date: Fri, 12 Jan 2024 17:09:21 +0100 Subject: [PATCH] Fix for Issue 667 added under FIX_667_DISABLE_INITIAL_PLC_SUPPRESSION --- lib_com/options.h | 1 + lib_dec/lib_dec.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/lib_com/options.h b/lib_com/options.h index 93565a3d7..af2e0bc16 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -92,6 +92,7 @@ #define IVAS_FLOAT_FIXED #define EVS_FLOAT //#define DUMPS_ENABLED +#define FIX_667_DISABLE_INITIAL_PLC_SUPPRESSION #define IVAS_CNST #define REMOVE_IVAS_UNUSED_PARAMETERS_WARNING /*temporary operation on unused EVS parameters to remove warnings, these parameters will be used in IVAS */ diff --git a/lib_dec/lib_dec.c b/lib_dec/lib_dec.c index 75de45e3d..8c3cc277c 100644 --- a/lib_dec/lib_dec.c +++ b/lib_dec/lib_dec.c @@ -202,6 +202,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_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