Lines Matching refs:effp

67 static int getopts(sox_effect_t * effp, int argc, char * * argv)  in getopts()  argument
69 priv_t * l = (priv_t *) effp->priv; in getopts()
76 return lsx_usage(effp); in getopts()
137 static int start(sox_effect_t * effp) in start() argument
139 priv_t * l = (priv_t *) effp->priv; in start()
143 l->expectedChannels, effp->out_signal.channels); in start()
147 if (!lsx_compandt_show(&l->transfer_fn, effp->global_info->plot)) in start()
153 if (l->channels[i].attack_times[j] > 1.0/effp->out_signal.rate) in start()
155 exp(-1.0/(effp->out_signal.rate * l->channels[i].attack_times[j])); in start()
160 l->delay_buf_size = l->delay * effp->out_signal.rate * effp->out_signal.channels; in start()
185 static int flow(sox_effect_t * effp, const sox_sample_t *ibuf, sox_sample_t *obuf, in flow() argument
188 priv_t * l = (priv_t *) effp->priv; in flow()
190 int filechans = effp->out_signal.channels; in flow()
221 SOX_SAMPLE_CLIP_COUNT(checkbuf, effp->clips); in flow()
228 SOX_SAMPLE_CLIP_COUNT(checkbuf, effp->clips); in flow()
246 static int drain(sox_effect_t * effp, sox_sample_t *obuf, size_t *osamp) in drain() argument
248 priv_t * l = (priv_t *) effp->priv; in drain()
253 while (done+effp->out_signal.channels <= *osamp && l->delay_buf_cnt > 0) in drain()
254 for (chan = 0; chan < effp->out_signal.channels; ++chan) { in drain()
266 static int stop(sox_effect_t * effp) in stop() argument
268 priv_t * l = (priv_t *) effp->priv; in stop()
274 static int lsx_kill(sox_effect_t * effp) in lsx_kill() argument
276 priv_t * l = (priv_t *) effp->priv; in lsx_kill()