11namespace tracktion {
inline namespace engine
27 float getSliderPos()
const;
28 void setVolumeDb (
float dB);
29 float getVolumeDb()
const;
30 void setSliderPos (
float position);
33 float updateAutomationStreamAndGetVolumeDb (
TimePosition);
36 static const char* xmlTypeName;
40 juce::String getPluginType()
override {
return xmlTypeName; }
41 bool canBeAddedToClip()
override {
return false; }
42 bool canBeAddedToRack()
override {
return false; }
43 bool canBeAddedToFolderTrack()
override {
return true; }
44 bool canBeMoved()
override;
45 bool needsConstantBufferSize()
override {
return false; }
47 void initialise (
const PluginInitialisationInfo&)
override;
54 AutomatableParameter::Ptr volParam;
57 float lastVolumeBeforeMute = 0.0f;
The VCA plugin sits on a folder track to control the overall level of all the volume/pan plugins in i...
void initialise(const PluginInitialisationInfo &) override
Gives the plugin a chance to set itself up before being played.
void deinitialise() override
Called after play stops to release resources.
juce::String getName() const override
The name of the type, e.g.
juce::String getSelectableDescription() override
Subclasses must return a description of what they are.
void applyToBuffer(const PluginRenderContext &) override
Process the next block of data.
#define TRANS(stringLiteral)
Represents a position in real-life time.