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

Method disconnectAll

src/core/AudioParam.cpp:204–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202}
203
204void AudioParam::disconnectAll(ContextGraphLock & g, std::shared_ptr<AudioParam> param)
205{
206 for (auto i : param->m_connectedOutputs)
207 {
208 auto j = i.lock();
209 if (j)
210 j->removeParam(g, param);
211 }
212 param->junctionDisconnectAllOutputs();
213}

Callers

nothing calls this directly

Calls 2

removeParamMethod · 0.80

Tested by

no test coverage detected