16namespace tracktion {
inline namespace engine
47 void visitNodes (
const VisitorFn&)
override;
52 bool isReadyToRender()
override;
62 struct TimedAudioNode;
66 bool hasAudio =
false, hasMidi =
false;
67 int maxNumberOfChannels = 0;
Base class for nodes in an audio playback graph.
An AudioNode that mixes a sequence of clips of other nodes.
bool purgeSubNodes(bool keepAudio, bool keepMidi) override
Tells the node to delete any sub-nodes that don't produce the required type of output.
void addInput(legacy::EditTimeRange time, AudioNode *inputNode)
Adds an input node to be played.
void prepareAudioNodeToPlay(const PlaybackInitialisationInfo &) override
tells the node to initialise itself ready for playing from the given time.
void releaseAudioNodeResources() override
tells the node that play has stopped, and it can free up anything it no longer needs.
Holds some really basic properties of a node.
Passed into AudioNodes when they are being initialised, to give them useful contextual information th...