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

Method init

Opcodes/arrayops.cpp:50–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 }
49
50 int init() {
51 csnd::myfltvec &out = outargs.myfltvec_data(0);
52 csnd::myfltvec &in = inargs.myfltvec_data(0);
53 out.init(csound, in.len());
54 if (!is_perf()) process(out, in);
55 return OK;
56 }
57
58 int kperf() {
59 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