Commit b69e8887 authored by Arash Azizi's avatar Arash Azizi
Browse files

issue: 2427 checking if function TonalMDCTConceal_Detect_ivas_fx() works in legacy mode correctly.

parent f4896dcb
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -94,6 +94,7 @@
#define FIX_2404_HARM_SIGNAL_CLAS                       /* VA: basop-2404, harmonize signal_clas and signa_ivas_clas */
#define HARMONIZE_ACELP_ENC                             /* VA: basop issue 2400: Remove duplicated main ACELP encoder function */
#define FIX_2392_MSAN_DESTROY_DEC                       /* VA: basop issue 2392: fix MSAN in ivas_destroy_dec_fx() */
#define HARMONIZE_2427_GETPLC                           /* FhG: basop issue : 2427 Harmonizing getPLCDecision functions:*/

/* #################### End BE switches ################################## */

+4 −2
Original line number Diff line number Diff line
@@ -574,9 +574,11 @@ Word16 GetPLCModeDecision_fx(
                    {
                        pitch = L_add( st->old_fpitch, 0 ); /*Q16*/
                    }

#ifndef HARMONIZE_2427_GETPLC
                    TonalMDCTConceal_Detect( st->hTonalMDCTConc, pitch, &numIndices, st->element_mode );

#else
                    TonalMDCTConceal_Detect_ivas_fx(st->hTonalMDCTConc, pitch, &numIndices, &(st->hTcxCfg->psychParamsTCX20) ,st->element_mode);
#endif // !HARMONIZE_2427_GETPLC
                    test();
                    test();
                    test();