11namespace tracktion {
inline namespace engine
20 static const char* getPluginName() {
return NEEDS_TRANS(
"MIDI Patch Bay"); }
24 static const char* xmlTypeName;
27 juce::String getPluginType()
override {
return xmlTypeName; }
29 bool canBeAddedToClip()
override {
return false; }
30 bool canBeAddedToRack()
override {
return true; }
31 bool needsConstantBufferSize()
override {
return false; }
32 void initialise (
const PluginInitialisationInfo&)
override;
36 bool takesAudioInput()
override {
return false; }
50 void makeConnection (
int srcChannel,
int dstChannel);
51 void sanityCheckMappings();
52 void blockAllMappings();
57 enum { blockChannel = 0 };
60 Mappings currentMappings;
62 void valueTreeChanged()
override;
juce::String getSelectableDescription() override
Subclasses must return a description of what they are.
void deinitialise() override
Called after play stops to release resources.
juce::String getName() const override
The name of the type, e.g.
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.
int getNumOutputChannelsGivenInputs(int) override
This must return the number of output channels that the plugin will produce, given a number of input ...
#define TRANS(stringLiteral)
#define NEEDS_TRANS(stringLiteral)