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

Method init

examples/plugin/opcodes.cpp:97–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95 */
96struct SimpleArrayA : csnd::Plugin<1, 1> {
97 int init() {
98 csnd::Vector<MYFLT> &out = outargs.vector_data<MYFLT>(0);
99 csnd::Vector<MYFLT> &in = inargs.vector_data<MYFLT>(0);
100 out.init(csound, in.len());
101 return OK;
102 }
103
104 int aperf() {
105 csnd::Vector<MYFLT> &out = outargs.vector_data<MYFLT>(0);

Callers

nothing calls this directly

Calls 2

initMethod · 0.45
lenMethod · 0.45

Tested by

no test coverage detected