Commit 7accdef1 authored by Manuel Jander's avatar Manuel Jander
Browse files

Add missing change of new_inp_resamp16k_fx scale improvement.

parent 7c88b8cc
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -619,7 +619,9 @@ ivas_error pre_proc_ivas_fx(
        }
        move16();
#ifdef NONBE_FIX_ISSUE_2206
        *q_new_inp_resamp16k_fx = Q_old_inp_16k;
        shift = norm_arr(new_inp_resamp16k_fx, L_FRAME16k );
        Scale_sig( new_inp_resamp16k_fx, L_FRAME16k, shift );
        *q_new_inp_resamp16k_fx = add( Q_old_inp_16k, shift );
        move16();
#endif
        IF( error != IVAS_ERR_OK )
@@ -1405,11 +1407,7 @@ ivas_error ivas_compute_core_buffers_fx(

    IF( new_inp_resamp16k_out_fx != NULL )
    {
#ifdef NONBE_FIX_ISSUE_2206_NO
        Copy_Scale_sig( new_inp_resamp16k_fx, new_inp_resamp16k_out_fx, L_FRAME16k, sub( sub( *Q_new, 0 ), Q_old_inp_16k ) );
#else
        Copy( new_inp_resamp16k_fx, new_inp_resamp16k_out_fx, L_FRAME16k );
#endif
    }
    test();
    IF( EQ_16( st->L_frame, L_FRAME16k ) && NE_16( element_mode, IVAS_CPE_MDCT ) )