#include <audio/node/outputnode.h>
Public Member Functions | |
OutputNode (NodeManager &nodeManager, bool rootProcess=true) | |
~OutputNode () override final | |
void | setOutputChannel (int outputChannel) |
int | getOutputChannel () const |
![]() | |
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 provide audio output for the node manager's audio processing, typically sent to an audio interface. The OutputNode is a root node that will be directly processed by the node manager.
OutputNode | ( | NodeManager & | nodeManager, |
bool | rootProcess = true |
||
) |
nodeManager | The node manager |
rootProcess | true if the node is registered as root process and being processed from the moment of creation. This can cause glitches if the node tree and it's parameters are still being build. |
|
finaloverride |
int getOutputChannel | ( | ) | const |
void setOutputChannel | ( | int | outputChannel | ) |
Set the audio channel that this node's input will be played on by the node manager.
outputChannel | the channel number |
InputPin audioInput = {this} |
Through this input the node receives buffers of audio samples that will be presented to the node manager as output for its audio processing.