Lines Matching refs:smoothGain
179 FIXP_DBL smoothGain[2]; /*!< gain smoothing states */ member
581 FDKmemclear(drcComp->smoothGain, sizeof(drcComp->smoothGain)); in FDK_DRC_Generator_Initialize()
641 drcComp->smoothGain[i] = FL2FXCONST_DBL(0.f); in FDK_DRC_Generator_setDrcProfile()
785 drcComp->smoothGain[i] = FL2FXCONST_DBL(0.f); in FDK_DRC_Generator_Calc()
818 if (gain < drcComp->smoothGain[i]) { in FDK_DRC_Generator_Calc()
842 …if ((gain < drcComp->smoothGain[i]) || (drcComp->holdCnt[i] == 0)) { /* hold gain unless we have a… in FDK_DRC_Generator_Calc()
851 accu = fMult(((FIXP_DBL)MAXVAL_DBL-alpha), drcComp->smoothGain[i]); in FDK_DRC_Generator_Calc()
853 drcComp->smoothGain[i] = accu; in FDK_DRC_Generator_Calc()
860 if (gain < drcComp->smoothGain[i]) { in FDK_DRC_Generator_Calc()
867 drcComp->smoothGain[0] = FL2FXCONST_DBL(0.f); in FDK_DRC_Generator_Calc()
868 drcComp->smoothGain[1] = FL2FXCONST_DBL(0.f); in FDK_DRC_Generator_Calc()
988 peak[i] += drcComp->smoothGain[i]; in FDK_DRC_Generator_Calc()
1011 tmp = drcComp->smoothGain[0]; in FDK_DRC_Generator_Calc()
1017 tmp = drcComp->smoothGain[1]; in FDK_DRC_Generator_Calc()