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

Method init

Opcodes/arrayops.cpp:101–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99 }
100
101 int init() {
102 csnd::myfltvec &out = outargs.myfltvec_data(0);
103 csnd::myfltvec &in = inargs.myfltvec_data(0);
104 out.init(csound, in.len());
105 if (!is_perf()) process(out, in, inargs[1]);
106 return OK;
107 }
108
109 int kperf() {
110 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