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

Method disconnectAllParams

src/core/AudioNodeOutput.cpp:208–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206}
207
208void AudioNodeOutput::disconnectAllParams(ContextGraphLock & g, std::shared_ptr<AudioNodeOutput> self)
209{
210 // AudioParam::disconnect() changes m_params by calling removeParam().
211 while (self->m_params.size())
212 {
213 auto param = self->m_params.begin();
214 (*param)->disconnect(g, *param, self);
215 }
216}
217
218void AudioNodeOutput::disconnectAll(ContextGraphLock & g, std::shared_ptr<AudioNodeOutput> self)
219{

Callers 1

disconnectAllMethod · 0.95

Calls 2

sizeMethod · 0.80
disconnectMethod · 0.45

Tested by

no test coverage detected