11namespace tracktion {
inline namespace engine
31 int getNumWires()
const;
32 Wire* getWire (
int index)
const;
34 void makeConnection (
int inputChannel,
int outputChannel,
float gainDb,
juce::UndoManager*);
35 void breakConnection (
int inputChannel,
int outputChannel);
38 static const char* getPluginName() {
return NEEDS_TRANS(
"Patch Bay"); }
39 static const char* xmlTypeName;
42 juce::String getPluginType()
override {
return xmlTypeName; }
45 bool canBeAddedToClip()
override {
return false; }
46 bool canBeAddedToRack()
override {
return false; }
47 bool canBeDisabled()
override {
return false; }
48 bool needsConstantBufferSize()
override {
return false; }
50 void initialise (
const PluginInitialisationInfo&)
override;
59 bool recursionCheck =
false;
60 SafeSelectable<Plugin> inputPlugin, outputPlugin;
62 void cacheInputAndOutputPlugins();
void applyToBuffer(const PluginRenderContext &) override
Process the next block of data.
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 getSelectableDescription() override
Subclasses must return a description of what they are.
juce::String getName() const override
The name of the type, e.g.
#define TRANS(stringLiteral)
#define NEEDS_TRANS(stringLiteral)