Commit fdc9c1a7 authored by Manuel Jander's avatar Manuel Jander
Browse files

Undo normalization of old_inp_12k8_fx after ivas_compute_core_buffers_fx(). Fixes regression.

parent 4b5a6c87
Loading
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -607,11 +607,6 @@ void pre_proc_ivas_fx(

        ivas_compute_core_buffers_fx( st, &inp_16k_fx, old_inp_16k_fx, new_inp_resamp16k_fx, input_frame, last_element_mode, sr_core_tmp, ener_fx, A_fx, Aw_fx, epsP_fx, lsp_new_fx, lsp_mid_fx, Q_old_inp_16k, Q_r, &Q_inp_16k );

#ifdef NONBE_FIX_ISSUE_2518
        Q_inp_12k8 = add( Q_inp_12k8, norm_arr( old_inp_12k8_fx, L_INP_12k8 ) );
        scale_sig( old_inp_12k8_fx, L_INP_12k8, sub( Q_inp_12k8, *Q_new ) );
#endif

        IF( GT_16( Q_inp_16k, Q_inp_12k8 ) )
        {
#ifdef NONBE_FIX_ISSUE_2206