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

Method connect

src/core/AudioParam.cpp:180–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178}
179
180void AudioParam::connect(ContextGraphLock & g, std::shared_ptr<AudioParam> param, std::shared_ptr<AudioNodeOutput> output)
181{
182 if (!output)
183 return;
184
185 if (param->isConnected(output))
186 return;
187
188 param->junctionConnectOutput(output);
189 output->addParam(g, param);
190}
191
192void AudioParam::disconnect(ContextGraphLock & g, std::shared_ptr<AudioParam> param, std::shared_ptr<AudioNodeOutput> output)
193{

Callers 15

updateMethod · 0.45
BuildSubgraphMethod · 0.45
AddMonitorNodesMethod · 0.45
playMethod · 0.45
playMethod · 0.45
playMethod · 0.45
playMethod · 0.45
playMethod · 0.45
playMethod · 0.45
playMethod · 0.45
playMethod · 0.45
playMethod · 0.45

Calls 3

junctionConnectOutputMethod · 0.80
addParamMethod · 0.80
isConnectedMethod · 0.45

Tested by

no test coverage detected