Commit 93e3d619 authored by vaclav's avatar vaclav
Browse files

fix EVS BE in BWS

parent 474f18b3
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -808,6 +808,12 @@ void ivas_hq_core_dec_fx(
        ELSE
        {
            ener_match = imult1616( st_fx->bws_cnt1, ONE_BY_N_NS2W_FRAMES_Q15 ); /*Q15*/
#ifdef HARM_HQ_CORE_KEEP_EVS_BE
            if ( st_fx->element_mode == EVS_MONO )
            {
                ener_match = div_s( st_fx->bws_cnt1, N_NS2W_FRAMES ); /*Q15*/
            }
#endif
        }

        IF( is_transient )