Commit 09745b63 authored by Tapani Pihlajakuja's avatar Tapani Pihlajakuja
Browse files

Fix BASOP issue 2497 by correcting subframe index

parent 7897b35e
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -103,6 +103,7 @@
#define FIX_1547_ISMDTX_HANDLE                          /* VA: float issue 1547: fix use of 'hISMDTX' handle */
#define FIX_1540_EXPOSE_PT_IN_RTP_HEADER_API            /* Expose Payload Type setting in RTP Header */
#define FIX_BASOP_2491_MDCT_JBM_CLICK                   /* FhG: BASOP #2491: Fix Q_synth after TCX concealment (using ACELP concealment) */
#define FIX_BASOP_2497_MCMASA_LFE_WRONG_SF_INDEX        /* Nokia: BASOP 2497: Fix wrong subframe index in McMASA LFE synth. */

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

+4 −0
Original line number Diff line number Diff line
@@ -3454,7 +3454,11 @@ void ivas_lfe_synth_with_filters_fx(
    slotSize = shr_r( output_frame, 4 ); // output_frame / CLDFB_NO_COL_MAX
    FOR( slot_index = 0; slot_index < CLDFB_NO_COL_MAX; slot_index++ )
    {
#ifdef FIX_BASOP_2497_MCMASA_LFE_WRONG_SF_INDEX
        subframe_index = shr( slot_index, 2 );
#else
        subframe_index = shr( slot_index, 4 );
#endif

        mrange[0] = i_mult( slot_index, slotSize );
        move16();