Lines Matching refs:effp

165 static int getopts(sox_effect_t * effp, int argc, char **argv)  in getopts()  argument
170 priv_t * c = (priv_t *) effp->priv; in getopts()
216 static int start(sox_effect_t * effp) in start() argument
218 priv_t * c = (priv_t *) effp->priv; in start()
225 l->delay_size = c->bands[band].delay * effp->out_signal.rate * effp->out_signal.channels; in start()
235 if (l->attackRate[i] > 1.0/effp->out_signal.rate) in start()
237 exp(-1.0/(effp->out_signal.rate * l->attackRate[i])); in start()
240 if (l->decayRate[i] > 1.0/effp->out_signal.rate) in start()
242 exp(-1.0/(effp->out_signal.rate * l->decayRate[i])); in start()
254 crossover_setup(effp, &l->filter, l->topfreq); in start()
275 static int sox_mcompand_flow_1(sox_effect_t * effp, priv_t * c, comp_band_t * l, const sox_sample_t… in sox_mcompand_flow_1() argument
307 SOX_SAMPLE_CLIP_COUNT(checkbuf, effp->clips); in sox_mcompand_flow_1()
326 SOX_SAMPLE_CLIP_COUNT(checkbuf, effp->clips); in sox_mcompand_flow_1()
360 static int flow(sox_effect_t * effp, const sox_sample_t *ibuf, sox_sample_t *obuf, in flow() argument
362 priv_t * c = (priv_t *) effp->priv; in flow()
376 len -= len % effp->out_signal.channels; in flow()
388 crossover_flow(effp, &l->filter, abuf, bbuf, cbuf, len); in flow()
395 (void)sox_mcompand_flow_1(effp, c,l,bbuf,abuf,len, (size_t)effp->out_signal.channels); in flow()
399 SOX_SAMPLE_CLIP_COUNT(out, effp->clips); in flow()
414 static int sox_mcompand_drain_1(sox_effect_t * effp, priv_t * c, comp_band_t * l, sox_sample_t *obu… in sox_mcompand_drain_1() argument
424 SOX_SAMPLE_CLIP_COUNT(out, effp->clips); in sox_mcompand_drain_1()
438 static int drain(sox_effect_t * effp, sox_sample_t *obuf, size_t *osamp) in drain() argument
441 priv_t * c = (priv_t *)effp->priv; in drain()
444 *osamp -= *osamp % effp->out_signal.channels; in drain()
449 drained = sox_mcompand_drain_1(effp, c,l,obuf,*osamp); in drain()
465 static int stop(sox_effect_t * effp) in stop() argument
467 priv_t * c = (priv_t *) effp->priv; in stop()
488 static int lsx_kill(sox_effect_t * effp) in lsx_kill() argument
490 priv_t * c = (priv_t *) effp->priv; in lsx_kill()