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

Method disconnect

src/core/AudioParam.cpp:192–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190}
191
192void AudioParam::disconnect(ContextGraphLock & g, std::shared_ptr<AudioParam> param, std::shared_ptr<AudioNodeOutput> output)
193{
194 if (!param || !output)
195 return;
196
197 if (param->isConnected(output))
198 {
199 param->junctionDisconnectOutput(output);
200 }
201 output->removeParam(g, param);
202}
203
204void AudioParam::disconnectAll(ContextGraphLock & g, std::shared_ptr<AudioParam> param)
205{

Callers 4

updateMethod · 0.45
disconnectAllParamsMethod · 0.45
playMethod · 0.45
playMethod · 0.45

Calls 3

removeParamMethod · 0.80
isConnectedMethod · 0.45

Tested by

no test coverage detected