TracktionEngine
|
Task that actually performs the render operation in blocks. More...
Public Member Functions | |
RenderTask (const juce::String &taskDescription, const Renderer::Parameters &, std::atomic< float > *progressToUpdate, juce::AudioFormatWriter::ThreadedWriter::IncomingDataReceiver *) | |
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 *) | |
~RenderTask () override | |
JobStatus | runJob () override |
float | getCurrentTaskProgress () override |
bool | performNormalisingAndTrimming (const Renderer::Parameters &target, const Renderer::Parameters &intermediate) |
Public Member Functions inherited from tracktion::engine::ThreadPoolJobWithProgress | |
ThreadPoolJobWithProgress (const juce::String &name) | |
~ThreadPoolJobWithProgress () | |
virtual bool | canCancel () const |
void | setManager (BackgroundJobManager &) |
void | setName (const juce::String &newName) |
Sets the job's name but also updates the manager so the list will reflect it. More... | |
void | prepareForJobDeletion () |
Call this in your sub-class destructor to to remvoe it from the manager queue before this class's destructor is called which can result in a pure virtual call. More... | |
Static Public Member Functions | |
static void | flushAllPlugins (const Plugin::Array &, double sampleRate, int samplesPerBlock) |
static void | setAllPluginsRealtime (const Plugin::Array &, bool realtime) |
static bool | addMidiMetaDataAndWriteToFile (juce::File, juce::MidiMessageSequence, const TempoSequence &) |
Public Attributes | |
Renderer::Parameters | params |
juce::String | errorMessage |
Task that actually performs the render operation in blocks.
You should continually call the runJob method until it returns jobHasFinished.
tracktion::engine::Renderer::RenderTask::RenderTask | ( | const juce::String & | taskDescription, |
const Renderer::Parameters & | , | ||
std::atomic< float > * | progressToUpdate, | ||
juce::AudioFormatWriter::ThreadedWriter::IncomingDataReceiver * | |||
) |
tracktion::engine::Renderer::RenderTask::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 * | |||
) |
|
override |
|
override |
|
overridevirtual |
Implements tracktion::engine::ThreadPoolJobWithProgress.
|
static |
|
static |
|
static |
bool tracktion::engine::Renderer::RenderTask::performNormalisingAndTrimming | ( | const Renderer::Parameters & | target, |
const Renderer::Parameters & | intermediate | ||
) |
Renderer::Parameters tracktion::engine::Renderer::RenderTask::params |
juce::String tracktion::engine::Renderer::RenderTask::errorMessage |