|
tracktion-engine 3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications
« « « Anklang Documentation |
Holds the state of an audio render procedure so it can be rendered in blocks. More...
#include "tracktion_NodeRenderContext.h"
Public Member Functions | |
| NodeRenderContext (Renderer::RenderTask &, Renderer::Parameters &, std::unique_ptr< tracktion::graph::Node >, std::unique_ptr< tracktion::graph::PlayHead >, std::unique_ptr< tracktion::graph::PlayHeadState >, std::unique_ptr< ProcessState >, juce::AudioFormatWriter::ThreadedWriter::IncomingDataReceiver *sourceToUpdate) | |
| Creates a context to render a Node. | |
| ~NodeRenderContext () | |
| Destructor. | |
| juce::Result | getStatus () const noexcept |
| Returns the opening status of the render. | |
| bool | renderNextBlock (std::atomic< float > &progressToUpdate) |
| Renders the next block of audio. | |
Static Public Member Functions | |
| static juce::String | renderMidi (Renderer::RenderTask &, Renderer::Parameters &, std::unique_ptr< tracktion::graph::Node >, std::unique_ptr< tracktion::graph::PlayHead >, std::unique_ptr< tracktion::graph::PlayHeadState >, std::unique_ptr< ProcessState >, std::atomic< float > &progressToUpdate) |
| Renders the MIDI of an Edit to a sequence. | |
Holds the state of an audio render procedure so it can be rendered in blocks.
Definition at line 20 of file tracktion_NodeRenderContext.h.
| tracktion::engine::NodeRenderContext::NodeRenderContext | ( | Renderer::RenderTask & | owner_, |
| Renderer::Parameters & | p, | ||
| std::unique_ptr< tracktion::graph::Node > | n, | ||
| std::unique_ptr< tracktion::graph::PlayHead > | playHead_, | ||
| std::unique_ptr< tracktion::graph::PlayHeadState > | playHeadState_, | ||
| std::unique_ptr< ProcessState > | processState_, | ||
| juce::AudioFormatWriter::ThreadedWriter::IncomingDataReceiver * | sourceToUpdate | ||
| ) |
Creates a context to render a Node.
Definition at line 39 of file tracktion_NodeRenderContext.cpp.
| tracktion::engine::NodeRenderContext::~NodeRenderContext | ( | ) |
Destructor.
Definition at line 153 of file tracktion_NodeRenderContext.cpp.
|
noexcept |
Returns the opening status of the render.
If something went wrong during set-up this will contain the error message to display.
Definition at line 38 of file tracktion_NodeRenderContext.h.
|
static |
Renders the MIDI of an Edit to a sequence.
Definition at line 365 of file tracktion_NodeRenderContext.cpp.
| bool tracktion::engine::NodeRenderContext::renderNextBlock | ( | std::atomic< float > & | progressToUpdate | ) |
Renders the next block of audio.
Returns true when finished, false if it needs to run again.
Definition at line 172 of file tracktion_NodeRenderContext.cpp.