Commit 1ee164d9 authored by Anjaneyulu Sana's avatar Anjaneyulu Sana
Browse files

Merge branch 'bug_fix_wb_vad_ivas_fx' into 'main'

Bug fix in wb_vad_ivas_fx to update vad flag

See merge request !1145
parents 9d2c5419 c1a600e4
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -2638,11 +2638,15 @@ Word16 wb_vad_ivas_fx(
        /* DTX HANGOVER  is in pre_proc_fx()  */
        flag_he1 = 0;
        move16();

        st_fx->localVAD = 0;
        move16();
        IF( EQ_16( BASOP_Util_Cmp_Mant32Exp( L_mssnr, L_mssnr_e, L_vad_thr, 18 ), 1 ) )
        {
            flag_he1 = 1;
            move16();                                                          /* he1 primary decision */
            move16();
            st_fx->localVAD = 1;
            move16();
            /* he1 primary decision */
            hVAD->nb_active_frames_he1 = add( hVAD->nb_active_frames_he1, 1 ); /* Counter of consecutive active speech frames */
            move16();