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

Method checkNumberOfChannelsForInput

src/core/AudioNode.cpp:605–620  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

603}
604
605void AudioNode::checkNumberOfChannelsForInput(ContextRenderLock & r, AudioNodeInput * input)
606{
607 ASSERT(r.context());
608
609 if (!input || input != this->input(0).get())
610 return;
611
612 for (auto & in : m_inputs)
613 {
614 if (in.get() == input)
615 {
616 input->updateInternalBus(r);
617 break;
618 }
619 }
620}
621
622bool AudioNode::propagatesSilence(ContextRenderLock& r) const
623{

Callers 2

propagateChannelCountMethod · 0.80
pullMethod · 0.80

Calls 4

inputMethod · 0.95
getMethod · 0.80
contextMethod · 0.45
updateInternalBusMethod · 0.45

Tested by

no test coverage detected