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

Method init

Opcodes/arrayops.cpp:151–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149 }
150
151 int init() {
152 csnd::myfltvec &out = outargs.myfltvec_data(0);
153 csnd::myfltvec &in = inargs.myfltvec_data(0);
154 out.init(csound, in.len());
155 if (!is_perf()) process(out, in);
156 return OK;
157 }
158
159 int kperf() {
160 return process(outargs.myfltvec_data(0), inargs.myfltvec_data(0));

Callers

nothing calls this directly

Calls 3

processFunction · 0.70
initMethod · 0.45
lenMethod · 0.45

Tested by

no test coverage detected