/* Note, that the code below comes from the legacy EVS decoder but it has precision issues in i_mult_sat() and it leads to saturation issues in L_shl(). Thus, it's been fixed by adding _sat to L_shl() and round_fx() functions and replacing i_mult_sat() with round_fx_sat(). However, this might break the bit-exactness with EVS for some corner case-signals. */
FOR(;i<L_SHB_LAHEAD+10;i++)
{
temp=round_fx_sat(L_shl(L_mult(0x6666/* 0.1 in Q12 */,shl(sub(i,19),11)),1));
// /* Note, that the code below comes from the legacy EVS decoder but it has precision issues in i_mult_sat() and it leads to saturation issues in L_shl(). Thus, it's been fixed by adding _sat to L_shl() and round_fx() functions and replacing i_mult_sat() with round_fx_sat(). However, this might break the bit-exactness with EVS for some corner case-signals. */