Lines Matching full:effect

28 /* Default effect handler functions for do-nothing situations: */
57 /* Partially initialise the effect structure; signal info will come later */
109 /* Effect can call in start() or flow() to set minimum input size to flow() */
124 /* Add an effect to the chain. *in is the input signal for this effect. *out is
126 * given options and *in, the effect can choose to do differently. Whatever
127 * output rate and channels the effect does produce are written back to *in,
128 * ready for the next effect in the chain.
134 sox_effect_t eff0; /* Copy of effect for flow 0 before calling start */ in sox_add_effect()
159 lsx_report("has no effect in this configuration"); in sox_add_effect()
213 /* An effect's output buffer (effp->obuf) generally has this layout:
219 * adapted to how the following effect expects its input, to avoid
220 * back-and-forth conversions. If the following effect operates on
255 if (effp->flows == 1) { /* Run effect on all channels at once */ in flow_effect()
261 lsx_fail("multi-channel effect flowed asymmetrically!"); in flow_effect()
267 } else { /* Run effect on each channel individually */ in flow_effect()
351 if (effp->flows == 1) { /* Run effect on all channels at once */ in drain_effect()
356 lsx_fail("multi-channel effect drained asymmetrically!"); in drain_effect()
362 } else { /* Run effect on each channel individually */ in drain_effect()
402 /* Flow data through the effects chain until an effect or callback gives EOF */
406 size_t e, source_e = 0; /* effect indices */ in sox_flow_effects()
415 /* Possibly there was already a buffer, if this is a used effect; in sox_flow_effects()
471 /* If an effect's output buffer still has samples, and if it is in sox_flow_effects()
473 be reused, and at that time possibly followed by an MCHAN effect. */ in sox_flow_effects()
535 /* Free resources related to effect.
536 * Note: This currently closes down the effect which might
551 processing, or if an effect like "trim" stopped early. */ in sox_delete_effect()
570 * Note: This currently closes down the effect which might
587 #define EFFECT(f) lsx_##f##_effect_fn, macro
589 #undef EFFECT
599 /* Find a named effect in the effects library */