Commit da10c988 authored by norvell's avatar norvell
Browse files

Added missing resets

parent 02719b35
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -440,6 +440,14 @@ ivas_error core_switching_pre_dec(

            st->hHQ_core->no_att_hangover = 0;
            st->hHQ_core->energy_lt = 300.0f;

            set_s( st->hHQ_core->old_is_transient, 0, 3 );
            set_f( st->hHQ_core->prev_noise_level, 0.0f, 2 );
            st->hHQ_core->prev_R = 0;
            set_s( st->hHQ_core->mem_norm + 1, 39, SFM_N_ENV_STAB - 1 );
            st->hHQ_core->prev_hqswb_clas = HQ_NORMAL;
            st->hHQ_core->prev_ni_ratio = 0.5f;
            set_f( st->hHQ_core->prev_En_sb, 0.0f, NB_SWB_SUBBANDS );
        }
#else
        set_f( st->hHQ_core->old_out, 0, output_frame );