Lines Matching refs:effp
27 static int create(sox_effect_t * effp, int argc, char * * argv) in create() argument
29 priv_t * p = (priv_t *)effp->priv; in create()
37 return argc? lsx_usage(effp) : SOX_SUCCESS; in create()
40 static int start(sox_effect_t * effp) in start() argument
42 priv_t * p = (priv_t *)effp->priv; in start()
52 if (effp->in_signal.length != SOX_UNKNOWN_LEN && p->num_repeats != UINT_MAX) in start()
53 effp->out_signal.length = effp->in_signal.length * (p->num_repeats + 1); in start()
55 effp->out_signal.length = SOX_UNKNOWN_LEN; in start()
60 static int flow(sox_effect_t * effp, const sox_sample_t * ibuf, in flow() argument
63 priv_t * p = (priv_t *)effp->priv; in flow()
75 static int drain(sox_effect_t * effp, sox_sample_t * obuf, size_t * osamp) in drain() argument
77 priv_t * p = (priv_t *)effp->priv; in drain()
80 *osamp -= *osamp % effp->in_signal.channels; in drain()
101 static int stop(sox_effect_t * effp) in stop() argument
103 priv_t * p = (priv_t *)effp->priv; in stop()