Commit 8a6b39b5 authored by Sandesh Venkatesh's avatar Sandesh Venkatesh
Browse files

Few more additional changes

parent e17675d1
Loading
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -2246,6 +2246,16 @@ void ivas_mdct_core_reconstruct_fx(
            }
        }

        /* Update */
        Copy( synth_buf_fx + st->L_frame, st->hTcxDec->old_synth, st->hTcxDec->old_synth_len );
        Copy( st->hTcxDec->old_synthFB_fx + st->hTcxDec->L_frameTCX - NS2SA( st->output_Fs, PH_ECU_MEM_NS ), st->hTcxDec->synth_history_fx, NS2SA( st->output_Fs, PH_ECU_MEM_NS ) );
        Copy( synth_bufFB_fx + st->hTcxDec->L_frameTCX, st->hTcxDec->old_synthFB_fx, st->hTcxDec->old_synth_lenFB );
        st->hTcxDec->q_old_synth = q_syn;
        st->hTcxDec->q_synth_history_fx = st->hTcxDec->q_old_synth;
        move16();
        move16();
        Scale_sig( st->hTcxDec->old_synthFB_fx, st->hTcxDec->old_synth_lenFB, sub( st->Q_syn, q_syn ) ); // st->Q_syn

        IF( st->hHQ_core != NULL )
        {
            Copy( st->hHQ_core->old_out_fx + NS2SA( st->output_Fs, N_ZERO_MDCT_NS ), st->hTcxDec->old_synthFB_fx + st->hTcxDec->old_synth_lenFB, NS2SA( st->output_Fs, PH_ECU_LOOKAHEAD_NS ) );