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

Method addOutputs

src/core/ChannelSplitterNode.cpp:31–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31void ChannelSplitterNode::addOutputs(int numberOfOutputs_)
32{
33 // Create a fixed number of outputs (able to handle the maximum number of channels fed to an input).
34 for (int i = 0; i < numberOfOutputs_; ++i)
35 {
36 addOutput(std::unique_ptr<AudioNodeOutput>(new AudioNodeOutput(this, 1)));
37 }
38}
39
40void ChannelSplitterNode::process(ContextRenderLock & r, int bufferSize)
41{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected