Commit 75cc1287 authored by Sandesh Venkatesh's avatar Sandesh Venkatesh Committed by Manuel Jander
Browse files

Fix for 3GPP issue 1327: Glitch when stereo is switching from TD to FD

Link #1327
parent 93562d48
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -174,4 +174,5 @@
//#define OPT_STEREO_32KBPS_V1                    /* Optimization made in stereo decoding path for 32kbps decoding */
#define DOT_PROD_CHOLESKY_64BIT                 /* FhG: Issue 1323, optimized 64 bit implementation of dot_product_cholesky() */
#define OPT_BASOP_ADD_v1                        /* optimizations to avoid usage of BASOP_Util_Add_MantExp */
#define FIX_ISSUE_1327                          /* Ittiam: Fix for issue 1327: Glitch when stereo is switching from TD to FD*/
#endif
+4 −0
Original line number Diff line number Diff line
@@ -680,6 +680,10 @@ void stereo_switching_enc_fx(
        FOR( n = 0; n < CPE_CHANNELS; n++ )
        {
            Copy( sts[n]->input_fx + input_frame - dft_ovl, hCPE->input_mem_fx[n], dft_ovl ); /* sts[n]->q_inp */
#ifdef FIX_ISSUE_1327
            hCPE->q_input_mem[n] = sts[n]->q_inp;
            move16();
#endif
        }
    }