MCPcopy Create free account
hub / github.com/VCVRack/Befaco / process

Method process

src/ABC.cpp:103–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101 }
102
103 void process(const ProcessArgs& args) override {
104 int channels = 1;
105 float_4 out[4] = {};
106
107 // Section A
108 processSection(args, channels, out, B1_LEVEL_PARAM, C1_LEVEL_PARAM, A1_INPUT, B1_INPUT, C1_INPUT, OUT1_OUTPUT, OUT1_LIGHT);
109
110 // Break summing if output A is patched
111 if (outputs[OUT1_OUTPUT].isConnected()) {
112 channels = 1;
113 std::memset(out, 0, sizeof(out));
114 }
115
116 // Section B
117 processSection(args, channels, out, B2_LEVEL_PARAM, C2_LEVEL_PARAM, A2_INPUT, B2_INPUT, C2_INPUT, OUT2_OUTPUT, OUT2_LIGHT);
118 }
119};
120
121

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected