Commit eb70e5a3 authored by multrus's avatar multrus
Browse files

[cleanup] accept FIX_BASOP_2522_MAP_PARAMS_DIRAC_STEREO

parent a3fec9ca
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -114,7 +114,6 @@
#define FIX_2500_RENDCONF_REFACTOR                      /* Eri: Basop issue #2500: Renderer configuration range check before conversion to fixed point. Harmonize between BASOP/float */
#define FIX_BASOP_2023_TDREND_DISTATT_PRECISION         /* Eri: Basop issue 2023: Distance attenuation scaling, adding clamping of distance att input and listener position */
#define FIX_BASOP_2023_TDREND_DISTATT_PRECISION_BUGFIX  /* Eri: Bug discovered in cleanup of basop issue 2023 */
#define FIX_BASOP_2522_MAP_PARAMS_DIRAC_STEREO          /* FhG: BASOP issue 2522: Fix copy and paste error for side_gain calculation in map_params_dirac_to_stereo() */
#define FIX_2505_IVAS_DEC_SEGFAULT                      /* FhG: BASOP #2505: Add headroom to input of ivas_rend_crendProcessSubframe_fx() for ivas_mdft_fx() calculation */
#define HARMONIZE_DoRTFTn                               /* VA: harmonize functions DoRTFTn_fx() and DoRTFTn_fx_ivas() */
#define FIX_1574_EFAP_CODE_LINT                         /* FhG: float issue 1574: Code quality fixes in ivas_efap.c */
+0 −4
Original line number Diff line number Diff line
@@ -645,11 +645,7 @@ static void map_params_dirac_to_stereo(
            move32();
            IF( q_sqrt )
            {
#ifdef FIX_BASOP_2522_MAP_PARAMS_DIRAC_STEREO
                side_gain[b + STEREO_DFT_BAND_MAX] = L_shl( side_gain[b + STEREO_DFT_BAND_MAX], q_sqrt ); /*Q31*/
#else
                side_gain[b + STEREO_DFT_BAND_MAX] = L_shl( side_gain[b], q_sqrt ); /*Q31*/
#endif
                q_sqrt = 0;
                move16();
            }