Commit ca9facae authored by multrus's avatar multrus
Browse files

[cleanup] accept FIX_BASOP_2469_OBJ_EDIT_TD_REND_GAIN

parent 2a32ccea
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -161,7 +161,6 @@
/*#define FIX_I4_OL_PITCH*/                             /* fix open-loop pitch used for EVS core switching */
#define TMP_1342_WORKAROUND_DEC_FLUSH_BROKEN_IN_SR      /* FhG: Temporary workaround for incorrect implementation of decoder flush with split rendering */
#define NONBE_1122_KEEP_EVS_MODE_UNCHANGED              /* FhG: Disables fix for issue 1122 in EVS mode to keep BE tests green. This switch should be removed once the 1122 fix is added to EVS via a CR.  */
#define FIX_BASOP_2469_OBJ_EDIT_TD_REND_GAIN            /* Eri: Basop issue 2469: TD renderer gain has wrong Q. In float this is just a synch of the cleanup done in BASOP */
#define FIX_ISSUE_1546_DEAD_CODE                        /* FhG: remove dead code reported in the issue*/
#define FIX_FLOAT_1544_SBA_META_IMPRECISION_UNSAFE_MATH /* FhG: float issue 1544: imprecision in ivas_get_dirac_sba_max_md_bits() with -funsafe-math-optimizations */
#define FIX_FLOAT_1544_ITD_IMPRECISION_UNSAFE_MATH      /* FhG: float issue 1544: Avoid assert() with -funsafe-math-optimizations in stereo_td_itd() */
+0 −6
Original line number Diff line number Diff line
@@ -269,13 +269,7 @@ static void TDREND_SRC_REND_Init(
    /* SrcGain  */
    for ( nC = 0; nC < SPAT_BIN_MAX_INPUT_CHANNELS; nC++ )
    {
#ifdef FIX_BASOP_2469_OBJ_EDIT_TD_REND_GAIN
        SrcRend_p->SrcGain_p[nC] = 1.0f;
#else
        SrcRend_p->SrcGainMin_p[nC] = 0.0f;
        SrcRend_p->SrcGain_p[nC] = 1.0f;
        SrcRend_p->SrcGainMax_p[nC] = 2.0f;
#endif
    }
    SrcRend_p->SrcGainUpdated = FALSE;

+0 −4
Original line number Diff line number Diff line
@@ -1074,10 +1074,6 @@ typedef struct TDREND_SRC_REND_s
    /* Gains */
    int16_t SrcGainUpdated;
    float SrcGain_p[SPAT_BIN_MAX_INPUT_CHANNELS];
#ifndef FIX_BASOP_2469_OBJ_EDIT_TD_REND_GAIN
    float SrcGainMin_p[SPAT_BIN_MAX_INPUT_CHANNELS];
    float SrcGainMax_p[SPAT_BIN_MAX_INPUT_CHANNELS];
#endif
    float DirGain_p[SPAT_BIN_MAX_INPUT_CHANNELS];
    float DistGain_p[SPAT_BIN_MAX_INPUT_CHANNELS];