editableParameters->ism_metadata[obj_idx].gain_fx=L_max(L_min(L_shl_sat(Mpy_32_32(editableParameters->ism_metadata[obj_idx].gain_fx,(Word32)(readInfo->obj_gain[obj_idx]*536870912)),2),OBJ_EDIT_GAIN_MAX_FX),OBJ_EDIT_GAIN_MIN_FX);/* Q29*Q29 -> Q27 shift back to Q29 */
#else
editableParameters->ism_metadata[obj_idx].gain_fx=L_max(L_min(L_shl_sat(Mpy_32_32(editableParameters->ism_metadata[obj_idx].gain_fx,(Word32)readInfo->obj_gain[obj_idx]*536870912),2),OBJ_EDIT_GAIN_MAX_FX),OBJ_EDIT_GAIN_MIN_FX);/* Q29*Q29 -> Q27 shift back to Q29 */
#define FIX_2166_ASSERT_OSBA_PLC_STEREO_OUT /* FhG: fix for issue 2166 - add missing averaging factor 0.5 in for the sum of energies in function stereo_dft_dmx_swb_nrg_fx()*/
#define FIX_1793_DEC_MC_TO_MONO_SCALING_ISSUE /* FhG: Use dynamic Q factor for synth_fx and synthFB_fx to prevent overflow */
#define FIX_2170_ASSERT_IN_FFT3 /* Eri: Assert in fft3_fx from EVS, adding _sat */
#define FIX_2082_FP_LEFTOVERS_OMASA_DEC /* Nokia: fix for issue 2082, cleaning remaining floating point code */
#define FIX_2174_JBM_BASOP_ALIGNMENT /* VoiceAge, Nokia: Fixes to JBM BASOP implementation and alignment to float */
#define FIX_2176_ASSERT_DEC_MAP_PARAMS_DIRAC2STEREO /* FhG: Reduce hStereoDft->q_smooth_buf_fx by one to prevent overflow in the subframe_band_nrg[][] calculation */
#define FIX_2015_PREMPH_SAT_ALT /* VA: saturation can happen during preemphasis filtering due to a too aggressive scaling factor, allows preemphis to get 1 more bit headroom */
#define FIX_2178_FL_TO_FX_WITH_OBJ_EDIT_FILE_INTERFACE /* Nokia: Fixes float to fx conversion in decoder app with object edit file interface */
/* ################### End FIXES switches ########################### */