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

Method subscribe

src/audio.cpp:21–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19////////////////////
20
21void Device::subscribe(Port* port) {
22 std::lock_guard<std::mutex> lock(processMutex);
23 subscribed.insert(port);
24}
25
26void Device::unsubscribe(Port* port) {
27 std::lock_guard<std::mutex> lock(processMutex);

Callers 1

setDeviceIdMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected