Commit 34e6a9ad authored by Tapani Pihlajakuja's avatar Tapani Pihlajakuja
Browse files

Minimal fix to BASOP issue 2512.

parent 496d928d
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -122,6 +122,7 @@
#define FIX_BASOP_2497_MCMASA_LFE_WRONG_SF_INDEX        /* Nokia: BASOP 2497: Fix wrong subframe index in McMASA LFE synth. */
#define FIX_BASOP_2496_OMASA_OBJ_EDIT_WRONG_ASSIGN      /* Nokia: BASOP 2496: Fix wrong assignment in OMASA object edit code */
#define FIX_2495_Q_ALIGN_OSBA_RENDERER                  /* FhG: Basop issue #2495: Corrected exponent scaling of outAudio.data_fx before buffer accumulation in renderSbaToBinaural(). */
#define FIX_BASOP_2512_WRONG_SHIFT_IN_DIRAC_CONFIG      /* Nokia: BASOP 2512: Fix wrong division by shift */

/* ##################### End NON-BE switches ########################### */

+4 −0
Original line number Diff line number Diff line
@@ -331,7 +331,11 @@ ivas_error ivas_spat_hSpatParamRendCom_config_fx(
        ELSE
        {
            Word16 num_slots_in_subfr, tmp;
#ifdef FIX_BASOP_2512_WRONG_SHIFT_IN_DIRAC_CONFIG
            tmp = 0;
#else
            tmp = 1;
#endif
            move16();
            IF( dec_param_estim_flag )
            num_slots_in_subfr = CLDFB_NO_COL_MAX / MAX_PARAM_SPATIAL_SUBFRAMES;