#define FIX_1217_OBJECT_EDIT_FILE_INTERFACE /* Nokia: issue #1217: add decoder functionality to read object edit instructions from a file */
/* #################### End BE switches ################################## */
@@ -175,7 +172,6 @@
#define NONBE_1217_OBJ_EDIT_FOA /* VA/Nokia: isse 1217: fix crash in object editing to FOA output in ParamISM */
#define NONBE_1215_FIX_JBM_MAX_SCALING /* FhG: issue 1215: Fix assert hit in a specific VoIP decoder config. Caused by integer overflow in max scaling calculation. */
#define NONBE_1230_DECODE_MASA_ISM_AZIMUTH_PREC_FROM_BASOP /* Nokia: Fixes ivas_decode_masaism_metadata decision logic change due to precision difference; this is the fix in floating point */
/* ##################### End NON-BE switches ########################### */
/* ################## End DEVELOPMENT switches ######################### */
*time_offs=(int16_t)(*time_offs+output_frame);/* USAN avoid risk of internal int32_t in "+=" */
@@ -2123,26 +2111,15 @@ static void hq_phase_ecu(
{
*time_offs=(int16_t)(*time_offs+output_frame);/* EVS_MONO BE compatible, but EVS CR needed as wrap will cause burst length muting envelope instability issues */
}
#else
*time_offs+=output_frame;
#endif
}
}
else
{
#ifdef FIX_1179_USAN_PHASEECU
*time_offs=(int16_t)(*time_offs+output_frame);/* cast added for USAN, "+=" avoided as it may creat a truncation from int to int16_t */
#else
*time_offs+=output_frame;
#endif
if(*time_offs<=0)
{
/* detect wrap around of st->time_offs */
#ifdef FIX_1179_USAN_PHASEECU
*time_offs=(int16_t)INT16_MAX;/* high value --> continued muting will ensure that the now saturated seed is not creating tones */