Lines Matching full:chain
36 sox_effects_chain_t * chain; in main() local
53 /* Create an effects chain; some effects need to know about the input in main()
55 chain = sox_create_effects_chain(&in->encoding, &out->encoding); in main()
57 /* The first effect in the effect chain must be something that can source in main()
62 /* This becomes the first `effect' in the chain */ in main()
63 assert(sox_add_effect(chain, e, &in->signal, &in->signal) == SOX_SUCCESS); in main()
69 /* Add the effect to the end of the effects processing chain: */ in main()
70 assert(sox_add_effect(chain, e, &in->signal, &in->signal) == SOX_SUCCESS); in main()
76 /* Add the effect to the end of the effects processing chain: */ in main()
77 assert(sox_add_effect(chain, e, &in->signal, &in->signal) == SOX_SUCCESS); in main()
80 /* The last effect in the effect chain must be something that only consumes in main()
85 assert(sox_add_effect(chain, e, &in->signal, &in->signal) == SOX_SUCCESS); in main()
88 /* Flow samples through the effects processing chain until EOF is reached */ in main()
89 sox_flow_effects(chain, NULL, NULL); in main()
92 sox_delete_effects_chain(chain); in main()