56 void loadFromUserSettings();
57 void saveToUserSettings();
66 HashCode
getHash() const noexcept {
return hash; }
92 void setUINeedsRefresh();
105 bool isEditClipRender()
const {
return type == RenderType::editClip; }
106 bool isClipRender()
const {
return type == RenderType::clip; }
107 bool isTrackRender()
const {
return type == RenderType::track; }
108 bool isMidiRender()
const {
return type == RenderType::midi; }
109 bool isExportAll()
const {
return type == RenderType::allExport; }
110 bool isRender()
const {
return isTrackRender() || isClipRender() || isMidiRender(); }
113 TargetFileFormat setFormat (TargetFileFormat);
119 HashCode getTracksHash()
const;
121 void setSampleRate (
int);
122 void setBitDepth (
int depth) { bitDepth = depth; }
125 int getQualityIndex()
const {
return qualityIndex; }
126 void setQualityIndex (
int q) { qualityIndex = q; }
128 juce::File getDestFile() const noexcept {
return destFile; }
131 TargetFileFormat getFormat() const noexcept {
return format; }
132 int getBitDepth()
const {
return bitDepth; }
133 bool getStereo()
const {
return stereo; }
134 double getSampleRate()
const {
return sampleRate; }
135 bool shouldAddMetadata()
const {
return addMetadata; }
137 bool shouldAddAcidMetadata()
const {
return addAcidMetadata; }
140 bool getRemoveSilence() const noexcept {
return removeSilence; }
141 bool getMarkedRegion() const noexcept {
return markedRegion; }
142 int getNumTracks() const noexcept {
return tracks.size(); }
144 void setSelected (
bool onlySelectedTrackAndClips);
145 void setMarkedRegion (
bool onlyMarked) { markedRegion = onlyMarked; }
146 void setIncludePlugins (
bool includePlugins) { usePlugins = includePlugins; }
147 void setAddRenderOption (
AddRenderOptions options) { addRenderOptions = options; }
148 void setEndAllowance (TimeDuration time) { endAllowance =
time; }
149 void setFilename (
juce::String,
bool canPromptToOverwriteExisting);
157 static bool isMarkedRegionBigEnough (TimeRange);
172 markedRegion, selectedTracks, selectedClips,
173 tracksToSeparateFiles, realTime, usePlugins;
192 void valueTreeChildOrderChanged (
juce::ValueTree&,
int,
int)
override {}
199 TimeDuration endAllowance;
201 bool uiNeedsRefresh =
true;
203 static void updateLastUsedRenderPath (RenderOptions&,
const juce::String& itemID);
206 void updateFileName();
207 void updateOptionsForFormat();
208 void updateDefaultFilename (Edit*);