#include <audio/node/inputnode.h>
Public Member Functions | |
InputNode (NodeManager &manager) | |
void | setInputChannel (int inputChannel) |
int | getInputChannel () const |
int | getAvailableInputChannelCount () |
![]() | |
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 | |
OutputPin | audioOutput = {this} |
Additional Inherited Members | |
![]() | |
SampleBuffer & | getOutputBuffer (OutputPin &output) |
![]() | |
virtual void | sampleRateChanged (float sampleRate) |
virtual void | bufferSizeChanged (int bufferSize) |
bool | isRegisteredWithNodeManager () const |
This node outputs the audio input that is received from the node system's external input, typically an audio interface. Input from channel inputChannel can be pulled from audioOutput plug.
InputNode | ( | NodeManager & | manager | ) |
manager | the node manager that this node will be registered to and processed by. This node provides audio output for the manager. |
int getAvailableInputChannelCount | ( | ) |
int getInputChannel | ( | ) | const |
void setInputChannel | ( | int | inputChannel | ) |
Sets the channel from which this node receives input. First check if the inputChannel is available using getAvailableInputChannelCount().
OutputPin audioOutput = {this} |
This output will contain the samples received from the node system's external input.