#include <audio/core/audiopin.h>
Public Member Functions | |
OutputPin (Node *node) | |
~OutputPin () | |
void | disconnectAll () |
SampleBuffer * | pull () |
Node & | getNode () |
Protected Attributes | |
SampleBuffer | mBuffer |
The buffer containing the latest output. More... | |
An audio output is used by audio node to connect it to other nodes. The output connects one channel (mono) audio. It outputs a pointer to an owned SampleBuffer. The PullFunction of this class calls a calculate function on the node it belongs to.
~OutputPin | ( | ) |
void disconnectAll | ( | ) |
Disconnects the output from all connected inputs. For threadsafety connection is enqueued on the audio thread.
Node& getNode | ( | ) |
SampleBuffer* pull | ( | ) |
Used by InputPin to poll this output for a new buffer of output samples
|
protected |
The buffer containing the latest output.