Lines Matching refs:effp

180 static int getopts(sox_effect_t * effp, int argc, char **argv)  in getopts()  argument
182 priv_t * p = (priv_t *)effp->priv; in getopts()
198 return argc ? lsx_usage(effp) : SOX_SUCCESS; in getopts()
201 static int start(sox_effect_t * effp) in start() argument
203 priv_t * p = (priv_t *)effp->priv; in start()
207 effp->out_signal.rate = effp->in_signal.rate; in start()
208 if (effp->in_signal.channels > 2 && p->stereo_depth) { in start()
212 if (effp->in_signal.channels == 1 && p->stereo_depth) in start()
213 effp->out_signal.channels = p->ochannels = 2; in start()
214 else effp->out_signal.channels = effp->in_signal.channels; in start()
215 if (effp->in_signal.channels == 2 && p->stereo_depth) in start()
217 else effp->flows = effp->in_signal.channels; in start()
219 &p->chan[i].reverb, effp->in_signal.rate, p->wet_gain_dB, p->room_scale, in start()
221 effp->global_info->global_info->bufsiz / p->ochannels, p->chan[i].wet); in start()
223 if (effp->in_signal.mult) in start()
224 *effp->in_signal.mult /= !p->wet_only + 2 * dB_to_linear(max(0,p->wet_gain_dB)); in start()
228 static int flow(sox_effect_t * effp, const sox_sample_t * ibuf, in flow() argument
231 priv_t * p = (priv_t *)effp->priv; in flow()
239 p->chan[c].dry[i] = SOX_SAMPLE_TO_FLOAT_32BIT(*ibuf++, effp->clips); in flow()
245 *obuf++ = SOX_FLOAT_32BIT_TO_SAMPLE(out, effp->clips); in flow()
249 *obuf++ = SOX_FLOAT_32BIT_TO_SAMPLE(out, effp->clips); in flow()
254 static int stop(sox_effect_t * effp) in stop() argument
256 priv_t * p = (priv_t *)effp->priv; in stop()