MCPcopy Create free account
hub / github.com/DISTRHO/Cardinal / Port_setDisconnected

Function Port_setDisconnected

src/override/Engine.cpp:347–352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

345
346
347static void Port_setDisconnected(Port* that) {
348 that->channels = 0;
349 for (int c = 0; c < PORT_MAX_CHANNELS; c++) {
350 that->voltages[c] = 0.f;
351 }
352}
353
354
355static void Port_setConnected(Port* that) {

Callers 1

Engine_updateConnectedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected