summaryrefslogtreecommitdiff
path: root/pluginlv2.h
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2016-07-14 11:57:30 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2016-07-14 16:35:07 +0200
commit53b6cbafc8923cb6e305a7e868b502069ece5177 (patch)
treea834a789438b4599a818456b98685a69599b1005 /pluginlv2.h
parent1be0af889aaf6d3baba1cad14914a5771c66839c (diff)
Introduce VST plugin information.
Diffstat (limited to 'pluginlv2.h')
-rw-r--r--pluginlv2.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/pluginlv2.h b/pluginlv2.h
index a1408fa..2c91dcc 100644
--- a/pluginlv2.h
+++ b/pluginlv2.h
@@ -54,9 +54,6 @@ public:
//! Get current free-wheel mode.
bool getFreeWheel() const override;
- //! This method is called by the host when the free-wheel mode changes.
- virtual void onFreeWheelChange(bool freewheel) override = 0;
-
//! Call this to get current samplerate.
float getSamplerate() override;
@@ -115,6 +112,12 @@ public:
//! Get unique plugin id.
std::string getId() override = 0;
+ // Functions used to set plugin information for VST
+ std::string effectName() override = 0;
+ std::string vendorString() override = 0;
+ std::string productString() override = 0;
+ PluginCategory pluginCategory() override = 0;
+
virtual void process(std::size_t pos,
const std::vector<MidiEvent>& input_events,
std::vector<MidiEvent>& output_events,