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

Method disconnectAllInputs

src/core/AudioNodeOutput.cpp:178–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176}
177
178void AudioNodeOutput::disconnectAllInputs(ContextGraphLock & g, std::shared_ptr<AudioNodeOutput> self)
179{
180 ASSERT(g.context());
181
182 // AudioNodeInput::disconnect() changes m_inputs by calling removeInput().
183 while (self->m_inputs.size())
184 {
185 auto ptr = self->m_inputs.rbegin();
186 AudioNodeInput::disconnect(g, *ptr, self);
187 }
188}
189
190void AudioNodeOutput::addParam(ContextGraphLock & g, std::shared_ptr<AudioParam> param)
191{

Callers 1

disconnectAllMethod · 0.95

Calls 2

sizeMethod · 0.80
contextMethod · 0.45

Tested by

no test coverage detected