Loading lib_com/options.h +1 −0 Original line number Diff line number Diff line Loading @@ -167,6 +167,7 @@ #define NONBE_FIX_861_MASA_CRASH_STEREO_SWITCHING /* VA: issue 861: fix MASA 2TC crash when switching from MDCT stereo to TD/DFT stereo */ #define BE_FIX_867_PARAMC_RECONFIG /* FhG: issue #867: fix ParamMC CLDFB buffer dealloc when reconfiguring */ #define NONBE_FIX_850_MASA_HBR_META_RATIO_DECODING /* Nokia: issue #850: Fixes rare non-valid diffuseness and energy ratio values in 2dir MASA. */ #define NONBE_877_OMASA_RESET_BRATE_SURPLUS /* VA: Add missing reset of parameter hCPE->brate_surplus in OMASA decoder */ /* ##################### End NON-BE switches ########################### */ Loading lib_dec/ivas_masa_dec.c +7 −0 Original line number Diff line number Diff line Loading @@ -1456,6 +1456,13 @@ ivas_error ivas_masa_dec_reconfigure( { st_ivas->nchan_ism = 0; st_ivas->ism_mode = ISM_MODE_NONE; #ifdef NONBE_877_OMASA_RESET_BRATE_SURPLUS if ( st_ivas->hCPE[0] != NULL ) { st_ivas->hCPE[0]->brate_surplus = 0; } #endif } #ifndef NONBE_UNIFIED_DECODING_PATHS Loading Loading
lib_com/options.h +1 −0 Original line number Diff line number Diff line Loading @@ -167,6 +167,7 @@ #define NONBE_FIX_861_MASA_CRASH_STEREO_SWITCHING /* VA: issue 861: fix MASA 2TC crash when switching from MDCT stereo to TD/DFT stereo */ #define BE_FIX_867_PARAMC_RECONFIG /* FhG: issue #867: fix ParamMC CLDFB buffer dealloc when reconfiguring */ #define NONBE_FIX_850_MASA_HBR_META_RATIO_DECODING /* Nokia: issue #850: Fixes rare non-valid diffuseness and energy ratio values in 2dir MASA. */ #define NONBE_877_OMASA_RESET_BRATE_SURPLUS /* VA: Add missing reset of parameter hCPE->brate_surplus in OMASA decoder */ /* ##################### End NON-BE switches ########################### */ Loading
lib_dec/ivas_masa_dec.c +7 −0 Original line number Diff line number Diff line Loading @@ -1456,6 +1456,13 @@ ivas_error ivas_masa_dec_reconfigure( { st_ivas->nchan_ism = 0; st_ivas->ism_mode = ISM_MODE_NONE; #ifdef NONBE_877_OMASA_RESET_BRATE_SURPLUS if ( st_ivas->hCPE[0] != NULL ) { st_ivas->hCPE[0]->brate_surplus = 0; } #endif } #ifndef NONBE_UNIFIED_DECODING_PATHS Loading