hTcxEnc->nmStartLine=shr(add(hTcxEnc->nmStartLine,shl(hTcxEnc->nmStartLine,2)),2);/* low-rate stereo is more efficient than dual-mono due to stereo processing */
hTcxEnc->nmStartLine=shr(add(hTcxEnc->nmStartLine,shl(hTcxEnc->nmStartLine,2)),2);/* low-rate stereo is more efficient than dual-mono due to stereo processing */
IF(!MCT_flag)/* for MCT do this later, otherwise there can be a problem because TCX quant happens later and might get the wrong last_core on a bit rate switch */
st->vad_flag=wb_vad_ivas_fx(st,fr_bands_fx,&i,&i,&i,&snr_sum_he_fx,&localVAD_HE_SAD,&(st->flag_noisy_speech_snr),Q_new,NULL,NULL,-MAX_16,-MAX_16);//-100000f == max 16bit float
st->vad_flag=wb_vad_ivas_fx(st,fr_bands_fx,&i,&i,&i,&snr_sum_he_fx,&localVAD_HE_SAD,&(st->flag_noisy_speech_snr),*Q_new,NULL,NULL,-MAX_16,-MAX_16);//-100000f == max 16bit float