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

Method propagateChannelCount

src/core/AudioNodeOutput.cpp:82–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82void AudioNodeOutput::propagateChannelCount(ContextRenderLock & r)
83{
84 if (isChannelCountKnown())
85 {
86 ASSERT(r.context());
87
88 // Announce to any nodes we're connected to that we changed our channel count for its input.
89 for (auto in : m_inputs)
90 {
91 auto connectionNode = in->destinationNode();
92 connectionNode->checkNumberOfChannelsForInput(r, in.get());
93 }
94 }
95}
96
97AudioBus * AudioNodeOutput::pull(ContextRenderLock & r, AudioBus * inPlaceBus, int bufferSize)
98{

Callers

nothing calls this directly

Calls 4

destinationNodeMethod · 0.80
getMethod · 0.80
contextMethod · 0.45

Tested by

no test coverage detected