MCPcopy Create free account
hub / github.com/LabSound/LabSound / isConnected

Method isConnected

src/core/AudioSummingJunction.cpp:43–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41AudioSummingJunction::~AudioSummingJunction() {}
42
43bool AudioSummingJunction::isConnected(std::shared_ptr<AudioNodeOutput> o) const
44{
45 std::lock_guard<std::mutex> lock(junctionMutex);
46
47 for (auto i : m_connectedOutputs)
48 if (i.lock() == o)
49 return true;
50
51 return false;
52}
53
54int AudioSummingJunction::numberOfRenderingConnections(ContextRenderLock &) const
55{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected