TracktionEngine
Public Attributes | List of all members
tracktion::graph::PlaybackInitialisationInfo Struct Reference

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

Public Attributes

double sampleRate
 
int blockSize
 
NodeGraphnodeGraph
 
NodeGraphnodeGraphToReplace = nullptr
 
std::function< NodeBuffer(choc::buffer::Size)> allocateAudioBuffer = nullptr
 
std::function< void(NodeBuffer &&)> deallocateAudioBuffer = nullptr
 

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 tracktion::graph::PlaybackInitialisationInfo::sampleRate

◆ blockSize

int tracktion::graph::PlaybackInitialisationInfo::blockSize

◆ nodeGraph

NodeGraph& tracktion::graph::PlaybackInitialisationInfo::nodeGraph

◆ nodeGraphToReplace

NodeGraph* tracktion::graph::PlaybackInitialisationInfo::nodeGraphToReplace = nullptr

◆ allocateAudioBuffer

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

◆ deallocateAudioBuffer

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

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