TracktionEngine
Loading...
Searching...
No Matches
graph::PlaybackInitialisationInfo Struct Reference

Passed into Nodes when they are being initialised, to give them useful contextual information that they may need. More...

#include <tracktion_Node.h>

Public Attributes

double sampleRate
int blockSize
NodeGraph & nodeGraph
NodeGraph * nodeGraphToReplace = nullptr
std::function< NodeBuffer(choc::buffer::Size)> allocateAudioBuffer = nullptr
std::function< void(NodeBuffer &&)> deallocateAudioBuffer = nullptr
bool enableNodeMemorySharing = false

Detailed Description

Passed into Nodes when they are being initialised, to give them useful contextual information that they may need.

Member Data Documentation

◆ sampleRate

double graph::PlaybackInitialisationInfo::sampleRate

◆ blockSize

◆ nodeGraph

NodeGraph& graph::PlaybackInitialisationInfo::nodeGraph

◆ nodeGraphToReplace

NodeGraph* graph::PlaybackInitialisationInfo::nodeGraphToReplace = nullptr

◆ allocateAudioBuffer

std::function<NodeBuffer (choc::buffer::Size)> graph::PlaybackInitialisationInfo::allocateAudioBuffer = nullptr

Referenced by graph::Node::initialise().

◆ deallocateAudioBuffer

std::function<void (NodeBuffer&&)> graph::PlaybackInitialisationInfo::deallocateAudioBuffer = nullptr

Referenced by graph::Node::initialise().

◆ enableNodeMemorySharing

bool graph::PlaybackInitialisationInfo::enableNodeMemorySharing = false

The documentation for this struct was generated from the following file: