Fix noisy speech buffer in ParamISM
Basic info
- Commit SHA: b3044dae
- Platform: all
Bug description
In ivas_ism_enc(), noisy_speech_buffer is sometimes set incorrectly due to an AND operation that is used for evaluating the VAD flags of the two SCEs:
if ( st_ivas->hSCE[0]->hCoreCoder[0]->vad_flag && st_ivas->hSCE[1]->hCoreCoder[0]->vad_flag )
{
st_ivas->hDirAC->hParamIsm->noisy_speech_buffer[i] = 0;
}
This is fixed by replacing the AND operation with an OR operation. ParamISM only.
Edited by eichenseer