MCPcopy Create free account
hub / github.com/csound/csound / init

Method init

Opcodes/arrayops.cpp:172–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170 }
171
172 int init() {
173 csnd::myfltvec &in1 = inargs.myfltvec_data(0);
174 csnd::myfltvec &in2 = inargs.myfltvec_data(1);
175 if (UNLIKELY(in2.len() < in1.len()))
176 return csound->init_error(Str_noop("second input array is too short\n"));
177 outargs[0] = process(in1, in2);
178 return OK;
179 }
180
181 int kperf() {
182 outargs[0] = process(inargs.myfltvec_data(0), inargs.myfltvec_data(1));

Callers 5

initMethod · 0.45
initMethod · 0.45
initMethod · 0.45
initMethod · 0.45
initMethod · 0.45

Calls 3

init_errorMethod · 0.80
processFunction · 0.70
lenMethod · 0.45

Tested by

no test coverage detected