[3GPP-Issue #824] Fixes crash in low level signal at 24.4 kbps with dtx enabled
[x] Fix - Qs for calculating scale of stereoDft not handled properly when first_SID_after_TD flag is set. scale is directly multiplied with sqrt of cngNoiseLevel_hist and stored in cngNoiseLevel_upd.
tmp32_1=L_add(L_add(L_shl(1,sub(Q15,c_e)),c),L_shl(L_deposit_l(sqrt_res),sub(add(q_sqrt,1),c_e)));/* Q(15 - c_e) *//* +1 to account for multiplication with 2 */
L_shl(L_deposit_l(mult(mult(LR_ratio,sub(MAX_16,LR_ratio)),mult(targetGain,sqrt_res))),add(1,q_sqrt)))),// add(1, q_sqrt) to account for multiplication with 2 and also to maintain uniform q.
tmp32_2=L_add(tmp32_2,L_shl(L_deposit_l(mult(mult(LR_ratio,sub(MAX_16,LR_ratio)),mult(targetGain,sqrt_res))),sub(add(q_sqrt,3),c_e)));/* Q(15 - c_e) *//* +1 to account for multiplication with 2 */