| 67 | */ |
| 68 | struct SimpleArray : csnd::Plugin<1, 1> { |
| 69 | int init() { |
| 70 | csnd::Vector<MYFLT> &out = outargs.vector_data<MYFLT>(0); |
| 71 | csnd::Vector<MYFLT> &in = inargs.vector_data<MYFLT>(0); |
| 72 | out.init(csound, in.len()); |
| 73 | csound->plugin_deinit(this); |
| 74 | return OK; |
| 75 | } |
| 76 | |
| 77 | int deinit() { |
| 78 | /** nothing to do, just announce itself */ |
nothing calls this directly
no test coverage detected