|
TracktionEngine
|
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.
| tracktion::engine::NodeRenderContext::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.
| tracktion::engine::NodeRenderContext::~NodeRenderContext | ( | ) |
Destructor.
|
noexcept |
Returns the opening status of the render.
If something went wrong during set-up this will contain the error message to display.
| 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.
|
static |
Renders the MIDI of an Edit to a sequence.