Searched refs:smoothState0 (Results 1 – 1 of 1) sorted by relevance
105 FIXP_DBL smoothState0; member182 limiter->smoothState0 = FL2FXCONST_DBL(1.0f/(1<<1)); in resetLimiter()248 FIXP_DBL smoothState0 = limiter->smoothState0; in applyLimiter() local327 if (gain < smoothState0) { in applyLimiter()328 …cor = fMin(cor, fMultDiv2((gain - fMultDiv2(FL2FXCONST_SGL(0.1f*(1<<1)),smoothState0)), FL2FXCONST… in applyLimiter()335 if (cor < smoothState0) { in applyLimiter()336 smoothState0 = fMult(attackConst,(smoothState0 - cor)) + cor; /* attack */ in applyLimiter()337 smoothState0 = fMax(smoothState0, gain); /* avoid overshooting target */ in applyLimiter()343 smoothState0 = -fMult(releaseConst,-(smoothState0 - cor)) + cor; /* release */ in applyLimiter()346 gain = smoothState0; in applyLimiter()[all …]