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

Method getMaxConnectedOutput

src/Octaves.cpp:222–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220 }
221
222 int getMaxConnectedOutput() {
223 int maxChans = -1;
224 for (int c = 0; c < NUM_OUTPUTS; c++) {
225 if (outputs[OUT_01F_OUTPUT + c].isConnected()) {
226 maxChans = c;
227 }
228 }
229 return maxChans;
230 }
231
232 json_t* dataToJson() override {
233 json_t* rootJ = json_object();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected