Lines Matching refs:chn
83 int chn; in effect_apply() local
96 for (chn=0; chn < priv->channels; chn++) in effect_apply()
98 priv->x[chn][2] = priv->x[chn][1]; in effect_apply()
99 priv->x[chn][1] = priv->x[chn][0]; in effect_apply()
101 priv->y[chn][2] = priv->y[chn][1]; in effect_apply()
102 priv->y[chn][1] = priv->y[chn][0]; in effect_apply()
104 priv->x[chn][0] = samples[i*channels+chn]; in effect_apply()
105 priv->y[chn][0] = priv->a0*priv->x[0][chn] in effect_apply()
106 + priv->a1*priv->x[1][chn] + priv->a2*x[2][chn] in effect_apply()
107 - priv->b1*priv->y[1][chn] - priv->b2*y[2][chn]; in effect_apply()
108 samples[i*channels+chn] = priv->y[chn][0]; in effect_apply()