Searched refs:backgr_nn (Results 1 – 1 of 1) sorted by relevance
517 int nn, speech_nn, backgr_nn; in swicms_update() local558 backgr_nn = backgr_cache_end * swicms->cache_resolution - speech_nn; in swicms_update()570 if (speech_nn == 0 && backgr_nn > 0) in swicms_update()572 backgr_avg[i] /= backgr_nn; in swicms_update()574 speech_nn = backgr_nn; in swicms_update()576 else if (speech_nn > 0 && backgr_nn == 0) in swicms_update()580 backgr_nn = speech_nn; in swicms_update()582 else if (speech_nn > 0 && backgr_nn > 0) in swicms_update()585 backgr_avg[i] /= backgr_nn; in swicms_update()594 nn = (sbindex * speech_nn + (100 - sbindex) * backgr_nn + 50) / 100; in swicms_update()