Lines Matching refs:effp
31 static int lsx_kill(sox_effect_t * effp) in lsx_kill() argument
33 priv_t * p = (priv_t *)effp->priv; in lsx_kill()
43 static int create(sox_effect_t * effp, int argc, char * * argv) in create() argument
45 priv_t * p = (priv_t *)effp->priv; in create()
55 lsx_kill(effp); in create()
56 return lsx_usage(effp); in create()
62 static int stop(sox_effect_t * effp) in stop() argument
64 priv_t * p = (priv_t *)effp->priv; in stop()
69 static int start(sox_effect_t * effp) in start() argument
71 priv_t * p = (priv_t *)effp->priv; in start()
73 uint64_t in_length = effp->in_signal.length != SOX_UNKNOWN_LEN ? in start()
74 effp->in_signal.length / effp->in_signal.channels : SOX_UNKNOWN_LEN; in start()
76 if (effp->flow == 0) { in start()
78 if (p->argc > effp->in_signal.channels) { in start()
83 …if (!lsx_parseposition(effp->in_signal.rate, p->args[i].str, &delay, last_seen, in_length, '=') ||… in start()
95 effp->out_signal.length = effp->in_signal.length != SOX_UNKNOWN_LEN ? in start()
96 effp->in_signal.length + max_delay * effp->in_signal.channels : in start()
102 if (effp->flow < p->argc) in start()
103 p->buffer_size = p->args[effp->flow].delay; in start()
111 static int flow(sox_effect_t * effp, const sox_sample_t * ibuf, in flow() argument
114 priv_t * p = (priv_t *)effp->priv; in flow()
132 static int drain(sox_effect_t * effp, sox_sample_t * obuf, size_t * osamp) in drain() argument
134 priv_t * p = (priv_t *)effp->priv; in drain()