diff --git a/lib_dec/core_switching_dec_fx.c b/lib_dec/core_switching_dec_fx.c index 9fe83efc7ca3a6892c99063fb394eb746d6e452a..97ba072660f823660165ca90a340e70efa960deb 100644 --- a/lib_dec/core_switching_dec_fx.c +++ b/lib_dec/core_switching_dec_fx.c @@ -1832,7 +1832,7 @@ ivas_error core_switching_post_dec_ivas_fx( L_tmp2 = 0; move32(); move32(); - tmp = st_fx->previoussynth_fx[i + delay_comp]; + tmp = shl( st_fx->previoussynth_fx[i + delay_comp], *Qsynth ); L_tmp = L_mac0( L_tmp, div_s( i, tmpDelta ), synth[i + delay_comp] ); /* Qsynth */ L_tmp = L_shl( L_tmp, 1 ); L_tmp2 = L_mac0( L_tmp2, div_s( sub( tmpDelta, i ), tmpDelta ), tmp ); /* Qsynth */