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

Method ClipNode

src/extended/ClipNode.cpp:141–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139/////////////////////
140
141ClipNode::ClipNode(AudioContext & ac)
142 : lab::AudioBasicProcessorNode(ac, *desc())
143{
144 internalNode = new ClipNodeInternal(this);
145 internalNode->aVal = param("a");
146 internalNode->bVal = param("b");
147 internalNode->mode = setting("mode");
148 internalNode->mode->setUint32(static_cast<uint32_t>(ClipNode::CLIP));
149
150 m_processor.reset(internalNode);
151 initialize();
152}
153
154ClipNode::~ClipNode()
155{

Callers

nothing calls this directly

Calls 2

setUint32Method · 0.80
resetMethod · 0.45

Tested by

no test coverage detected