Lines Matching full:chain

31 /* The function that will be called to input samples into the effects chain.
55 /* The function that will be called to output samples from the effects chain.
73 /* Outputting is the last `effect' in the effect chain so always passes in output_flow()
83 * chain; the only function needed for this example is `drain' */
93 * chain; the only function needed for this example is `flow' */
108 sox_effects_chain_t * chain; in main() local
125 /* Create an effects chain; some effects need to know about the input in main()
127 chain = sox_create_effects_chain(&in->encoding, &out->encoding); in main()
129 /* The first effect in the effect chain must be something that can source in main()
133 /* This becomes the first `effect' in the chain */ in main()
134 assert(sox_add_effect(chain, e, &in->signal, &in->signal) == SOX_SUCCESS); in main()
140 /* Add the effect to the end of the effects processing chain: */ in main()
141 assert(sox_add_effect(chain, e, &in->signal, &in->signal) == SOX_SUCCESS); in main()
147 /* Add the effect to the end of the effects processing chain: */ in main()
148 assert(sox_add_effect(chain, e, &in->signal, &in->signal) == SOX_SUCCESS); in main()
151 /* The last effect in the effect chain must be something that only consumes in main()
155 assert(sox_add_effect(chain, e, &in->signal, &in->signal) == SOX_SUCCESS); in main()
158 /* Flow samples through the effects processing chain until EOF is reached */ in main()
159 sox_flow_effects(chain, NULL, NULL); in main()
162 sox_delete_effects_chain(chain); in main()