11namespace tracktion {
inline namespace engine
59 void enablePlugins (
bool enable);
80 static const char* getPluginName() {
return NEEDS_TRANS(
"Freeze Point"); }
84 static const char* xmlTypeName;
88 juce::String getPluginType()
override {
return xmlTypeName; }
91 bool producesAudioWhenNoAudioInput()
override {
return false; }
92 bool canBeAddedToClip()
override {
return false; }
93 bool canBeAddedToRack()
override {
return false; }
94 bool canBeAddedToMaster()
override {
return false; }
95 bool canBeDisabled()
override {
return false; }
96 bool needsConstantBufferSize()
override {
return false; }
98 void initialise (
const PluginInitialisationInfo&)
override;
103 bool isTrackFrozen()
const;
104 void freezeTrack (
bool shouldBeFrozen);
108 int lastFreezeIndex = -1;
110 void updateTrackFreezeStatus();
The Tracktion Edit class!
void initialiseFully() override
Gives the plugin a chance to do extra initialisation when it's been added to an edit.
juce::String getName() const override
The name of the type, e.g.
int getNumOutputChannelsGivenInputs(int numInputChannels) override
This must return the number of output channels that the plugin will produce, given a number of input ...
juce::String getSelectableDescription() override
Subclasses must return a description of what they are.
void deinitialise() override
Called after play stops to release resources.
void initialise(const PluginInitialisationInfo &) override
Gives the plugin a chance to set itself up before being played.
void applyToBuffer(const PluginRenderContext &) override
Process the next block of data.
juce::String getTooltip() override
default returns the name, others can return special stuff if needed
Base class for tracks which contain clips and plugins and can be added to Edit[s].
#define TRANS(stringLiteral)
#define NEEDS_TRANS(stringLiteral)
ID for objects of type EditElement - e.g.
Temporarily disables a range of plugins in a track.
Freezes a track if this plugin changes track.
Temporarily solo isolates and unmutes some tracks.
Temporarily unsolos all the tracks in an Edit.