| 72 | } |
| 73 | |
| 74 | int init() { |
| 75 | csnd::myfltvec &out = outargs.myfltvec_data(0); |
| 76 | csnd::myfltvec &in1 = inargs.myfltvec_data(0); |
| 77 | csnd::myfltvec &in2 = inargs.myfltvec_data(1); |
| 78 | if (UNLIKELY(in2.len() < in1.len())) |
| 79 | return csound->init_error(Str_noop("second input array is too short\n")); |
| 80 | out.init(csound, in1.len()); |
| 81 | if (!is_perf()) process(out, in1, in2); |
| 82 | return OK; |
| 83 | } |
| 84 | int kperf() { |
| 85 | return process(outargs.myfltvec_data(0), inargs.myfltvec_data(0), |
| 86 | inargs.myfltvec_data(1)); |
nothing calls this directly
no test coverage detected