Commit 1f2a2a63 authored by Arash Azizi's avatar Arash Azizi
Browse files

issue: 2480 unifying both instances of function use.

parent 0672c967
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
@@ -449,18 +449,20 @@ Word16 GetPLCModeDecision_fx(
                    {
                        pitch = L_add( st->old_fpitch, 0 ); /*Q16*/
                    }
#ifndef FIX_2480_HARM_TONALMDCT
                    IF(NE_16(st->element_mode, EVS_MONO))
                    {
                        TonalMDCTConceal_Detect_ivas_fx(st->hTonalMDCTConc, pitch, &numIndices, (EQ_16(st->element_mode, IVAS_CPE_MDCT) ? &(st->hTcxCfg->psychParamsTCX20) : st->hTcxCfg->psychParamsCurrent), st->element_mode);
                    }
                    ELSE
                    {
#ifndef FIX_2480_HARM_TONALMDCT
                        TonalMDCTConceal_Detect_fx(st->hTonalMDCTConc, pitch, &numIndices, st->element_mode);
                    }
#else
                        TonalMDCTConceal_Detect_ivas_fx( st->hTonalMDCTConc, pitch, &numIndices, NULL, st->element_mode );
                    TonalMDCTConceal_Detect_ivas_fx(st->hTonalMDCTConc, pitch, &numIndices, (EQ_16(st->element_mode, IVAS_CPE_MDCT) ? &(st->hTcxCfg->psychParamsTCX20) : st->hTcxCfg->psychParamsCurrent), st->element_mode);
#endif // !FIX_2480_HARM_TONALMDCT
                    }

                    

                    test();
                    test();