Task that actually performs the render operation in blocks.
More...
#include <tracktion_Renderer.h>
Inherits ThreadPoolJobWithProgress.
|
| RenderTask (const juce::String &taskDescription, const Renderer::Parameters &, std::atomic< float > *progressToUpdate, juce::AudioFormatWriter::ThreadedWriter::IncomingDataReceiver *) |
| Constructs a RenderTask for a set of parameters.
|
|
| RenderTask (const juce::String &taskDescription, const 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, juce::AudioFormatWriter::ThreadedWriter::IncomingDataReceiver *) |
| Constructs a RenderTask for a set of parameters and existing graph.
|
|
| ~RenderTask () override |
| Destructor.
|
|
JobStatus | runJob () override |
| Call until this returns jobHasFinished to perform the render.
|
|
float | getCurrentTaskProgress () override |
| Returns the current progress of the render.
|
|
bool | performNormalisingAndTrimming (const Renderer::Parameters &target, const Renderer::Parameters &intermediate) |
|
Task that actually performs the render operation in blocks.
You should continually call the runJob method until it returns jobHasFinished.
◆ RenderTask() [1/2]
engine::Renderer::RenderTask::RenderTask |
( |
const juce::String & |
taskDescription, |
|
|
const Renderer::Parameters & |
, |
|
|
std::atomic< float > * |
progressToUpdate, |
|
|
juce::AudioFormatWriter::ThreadedWriter::IncomingDataReceiver * |
|
|
) |
| |
◆ RenderTask() [2/2]
Constructs a RenderTask for a set of parameters and existing graph.
◆ ~RenderTask()
engine::Renderer::RenderTask::~RenderTask |
( |
| ) |
|
|
override |
◆ runJob()
JobStatus engine::Renderer::RenderTask::runJob |
( |
| ) |
|
|
override |
Call until this returns jobHasFinished to perform the render.
◆ getCurrentTaskProgress()
float engine::Renderer::RenderTask::getCurrentTaskProgress |
( |
| ) |
|
|
override |
Returns the current progress of the render.
◆ flushAllPlugins()
static void engine::Renderer::RenderTask::flushAllPlugins |
( |
const Plugin::Array & |
, |
|
|
double |
sampleRate, |
|
|
int |
samplesPerBlock |
|
) |
| |
|
static |
◆ setAllPluginsRealtime()
static void engine::Renderer::RenderTask::setAllPluginsRealtime |
( |
const Plugin::Array & |
, |
|
|
bool |
realtime |
|
) |
| |
|
static |
◆ addMidiMetaDataAndWriteToFile()
static bool engine::Renderer::RenderTask::addMidiMetaDataAndWriteToFile |
( |
juce::File |
, |
|
|
juce::MidiMessageSequence |
, |
|
|
const TempoSequence & |
|
|
) |
| |
|
static |
◆ performNormalisingAndTrimming()
◆ params
◆ errorMessage
juce::String engine::Renderer::RenderTask::errorMessage |
An error message if the render failed to start.
The documentation for this class was generated from the following file: