11namespace tracktion {
inline namespace engine
29 bool silenceOnBackup,
bool reverse);
35 bool silenceOnBackup,
bool reverse);
54 bool isMidi() const noexcept {
return params.createMidiFile; }
80 ProjectItem::Category originalCategory;
88 Renderer::Parameters params;
92 bool silenceOnBackup, reverse;
93 Renderer::RenderResult result;
100 void renderSeparateTracks();
101 bool generateSilence (
const juce::File& fileToWriteTo);
104 EditRenderJob (
Engine&,
const Renderer::Parameters&,
bool deleteEdit,
bool silenceOnBackup,
bool reverse);
107 bool silenceOnBackup,
bool reverse);
bool renderNextBlock() override
During a render process this will be repeatedly called.
const Renderer::Parameters & getParams() const noexcept
Returns the parameters in use for this job.
bool setUpRender() override
Subclasses should override this to set-up their render process.
juce::AudioThumbnail & getAudioThumbnail()
Returns an audio thumbnail that will be updated with the progress of the render operation.
Renderer::RenderResult & getResult()
Returns the result of this render.
bool completeRender() override
This is called once after all the render blocks have completed.
bool isMidi() const noexcept
Returns true if this job is rendering MIDI.
static Ptr getOrCreateRenderJob(Engine &, Renderer::Parameters &, bool deleteEdit, bool silenceOnBackup, bool reverse)
Returns a job that will have been started to generate the Render described by the params.
~EditRenderJob() override
Destructor.
The Engine is the central class for all tracktion sessions.
An ID representing one of the items in a Project.
Represents a set of user properties used to control a render operation, using a ValueTree to hold the...