#include <tracktion_InsertSendNode.h>
|
void * | internal = nullptr |
|
int | numOutputNodes = -1 |
|
virtual void | prefetchBlock (juce::Range< int64_t >) |
| Called before once on all Nodes before they are processed.
|
|
virtual void | preProcess (choc::buffer::FrameCount, juce::Range< int64_t >) |
| Called when the node is to be processed, just before process.
|
|
void | setOptimisations (NodeOptimisations) |
| This can be called to provide some hints about allocating or playing back a Node to improve efficiency.
|
|
void | setBufferViewToUse (Node *sourceNode, const choc::buffer::ChannelArrayView< float > &) |
| This can be called during prepareToPlay to set a BufferView to use which can improve efficiency.
|
|
void | setAudioOutput (Node *sourceNode, const choc::buffer::ChannelArrayView< float > &) |
| This can be called during your process function to set a view to the output.
|
|
◆ InsertNode()
tracktion::engine::InsertNode::InsertNode |
( |
std::unique_ptr< Node > |
input, |
|
|
InsertPlugin & |
, |
|
|
std::unique_ptr< Node > |
returnNode, |
|
|
SampleRateAndBlockSize |
|
|
) |
| |
◆ ~InsertNode()
tracktion::engine::InsertNode::~InsertNode |
( |
| ) |
|
|
override |
◆ getInsert()
InsertPlugin & tracktion::engine::InsertNode::getInsert |
( |
| ) |
const |
◆ getInputNode()
Node & tracktion::engine::InsertNode::getInputNode |
( |
| ) |
|
◆ transform()
Called after construction to give the node a chance to modify its topology.
This should return true if any changes were made to the topology as this indicates that the method may need to be called again after other nodes have had their toplogy changed.
- Returns
- TransformResult The type of transformation that has taken place. If connections have been made AND nodes deleted, return nodesDeleted
Reimplemented from tracktion::graph::Node.
◆ getNodeProperties()
Should return the properties of the node.
This should not be called until after initialise.
Implements tracktion::graph::Node.
◆ getDirectInputNodes()
std::vector< Node * > tracktion::engine::InsertNode::getDirectInputNodes |
( |
| ) |
|
|
overridevirtual |
◆ prepareToPlay()
Called once before playback begins for each node.
Use this to allocate buffers etc. This step can be used to modify the topology of the graph (i.e. add/remove nodes). However, if you do this, you must make sure to call initialise on them so they are fully prepared for processing.
Reimplemented from tracktion::graph::Node.
◆ isReadyToProcess()
bool tracktion::engine::InsertNode::isReadyToProcess |
( |
| ) |
|
|
overridevirtual |
Should return true when this node is ready to be processed.
This is usually when its input's output buffers are ready.
Implements tracktion::graph::Node.
◆ process()
Called when the node is to be processed.
This should add in to the buffers available making sure not to change their size at all.
Implements tracktion::graph::Node.
The documentation for this class was generated from the following file: