Commit 0f2cbf33 authored by Manuel Jander's avatar Manuel Jander
Browse files

Fix EVS regression.

parent bd313fff
Loading
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -1572,7 +1572,11 @@ void swb_tbe_enc_fx(
    Copy_Scale_sig_nosat( shb_speech_fx, shb_new_speech_fx, L_FRAME16k, sub( Q_shb2, Q_shb ) );
    Q_shb = Q_shb2;
    move16();
    Q_shb2 = 0;
    move16();
    IF( NE_16( st_fx->element_mode, EVS_MONO ) ) {
        Q_shb2 = norm_arr( shb_old_speech_fx + L_FRAME16k, delay );
    }
    Copy_Scale_sig_nosat( shb_old_speech_fx + L_FRAME16k, hBWE_TD->old_speech_shb_fx, delay, Q_shb2 );
    hBWE_TD->old_speech_shb_q = add( Q_shb, Q_shb2 );
    move16();