#include <audio/node/pullnode.h>
Public Member Functions | |
PullNode (NodeManager &nodeManager, bool rootProcess=true) | |
~PullNode () override final | |
![]() | |
Node (NodeManager &manager) | |
const std::set< OutputPin * > & | getOutputs () const |
const std::set< InputPinBase * > & | getInputs () const |
![]() | |
Process (NodeManager &nodeManager) | |
Process (ParentProcess &parent) | |
Process (const Process &)=delete | |
Process & | operator= (const Process &)=delete |
virtual | ~Process () |
void | update () |
NodeManager & | getNodeManager () const |
int | getBufferSize () const |
float | getSampleRate () const |
DiscreteTimeValue | getSampleTime () const |
Public Attributes | |
InputPin | audioInput = {this} |
Additional Inherited Members | |
![]() | |
SampleBuffer & | getOutputBuffer (OutputPin &output) |
![]() | |
virtual void | sampleRateChanged (float sampleRate) |
virtual void | bufferSizeChanged (int bufferSize) |
bool | isRegisteredWithNodeManager () const |
Node to pull its input without doing anything with it, just to make sure it's processed. This is handy in order to simulate multispeaker applications processing load properly without needing the actual outputs. The PullNode is a root node that will be directly processed by the node manager.
PullNode | ( | NodeManager & | nodeManager, |
bool | rootProcess = true |
||
) |
nodeManager | The node manager this node runs on |
rootProcess | true if the node registered as root process and processed from creation. |
|
finaloverride |
InputPin audioInput = {this} |
The processing chain connected to this input will be processed even when not being used for anything.