Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
21
void Device::subscribe(Port* port) {
22
std::lock_guard<std::mutex> lock(processMutex);
23
subscribed.insert(port);
24
}
25
26
void Device::unsubscribe(Port* port) {
27
std::lock_guard<std::mutex> lock(processMutex);
Callers
1
setDeviceId
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected