diff --git a/lib_com/options.h b/lib_com/options.h index 91f78df00ac8390d981c8f5be197999326e794f2..f658a0ace707fbb02819fb9b308a65709bf53dd1 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -100,6 +100,7 @@ #define FIX_1947_DEC_HIGH_MLD_FOR_STEREO2MONO /* FhG: Make Q-factor of synth_16_fx and output_16_fx dynamic to prevent overflow in HQ_CORE mode */ #define FIX_2184_EVS_STEREO_DMX_CHANNEL_DISAPPEARING /* Orange: Fix for issue 2184 - to prevent one channel from becoming inaudible in the mono downmix output */ +#define FIX_2148_OBJ_EDIT_ISSUE_WITH_OSBA /* Nokia: Add missing code to solve issue */ /* ################### End FIXES switches ########################### */ /* #################### Start BASOP porting switches ############################ */ diff --git a/lib_dec/lib_dec_fx.c b/lib_dec/lib_dec_fx.c index 7d3ee4ffd60a96f22d16cb19eb72b70bedd4f7de..ae2027e1093cc08edf740f5cce3a4bae4e0150c2 100644 --- a/lib_dec/lib_dec_fx.c +++ b/lib_dec/lib_dec_fx.c @@ -4033,6 +4033,10 @@ ivas_error IVAS_DEC_GetSamplesDecoder( move32(); hIsmMetaData[obj]->edited_radius_fx = hIsmMetaData[obj]->radius_fx; move32(); +#ifdef FIX_2148_OBJ_EDIT_ISSUE_WITH_OSBA + hIsmMetaData[obj]->edited_gain_fx = ONE_IN_Q29; + move32(); +#endif } if ( EQ_32( st_ivas->ism_mode, ISM_SBA_MODE_DISC ) )