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 */
fprintf(stderr,"\nExternal Renderer Config is supported only when binaural output configurations is used as output OR when Split pre-rendering mode is enabled. Exiting. \n");
if(EQ_16(prescale_current_frame,1+HP20_FX_COEFF_SCALE-31)||// signal_fx buffer contains only zeros, so use the mem_fx scale_factor instead
LT_16(prescale_current_frame,prescale))// To avoid overflow in the subsequent shr() scaling for W_y1, W_y2, x2, and x1 calculations before the for loop.
#else
if(EQ_16(prescale_current_frame,1+HP20_FX_COEFF_SCALE-31))// signal_fx buffer contains only zeros, so use the mem_fx scale_factor instead