MCPcopy Create free account
hub / github.com/VCVRack/Rack / onPortChange

Method onPortChange

include/engine/Module.hpp:409–409  ·  view source on GitHub ↗

Called after a cable connects to or disconnects from a port. This event is not called for output ports if a stackable cable was added/removed and did not change the port's connected state. */

Source from the content-addressed store, hash-verified

407 This event is not called for output ports if a stackable cable was added/removed and did not change the port's connected state.
408 */
409 virtual void onPortChange(const PortChangeEvent& e) {}
410
411 struct SampleRateChangeEvent {
412 float sampleRate;

Callers 2

addCable_NoLockMethod · 0.80
removeCable_NoLockMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected