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

Method init

Opcodes/arrayops.cpp:127–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125 }
126
127 int init() {
128 csnd::myfltvec &out = outargs.myfltvec_data(0);
129 csnd::myfltvec &in = inargs.myfltvec_data(0);
130 out.init(csound, in.len());
131 if(!is_perf()) process(out, in, inargs[1], inargs[2]);
132 return OK;
133 }
134
135 int kperf() {
136 return process(outargs.myfltvec_data(0), inargs.myfltvec_data(0), inargs[1],

Callers

nothing calls this directly

Calls 3

processFunction · 0.70
initMethod · 0.45
lenMethod · 0.45

Tested by

no test coverage detected