From 53b6cbafc8923cb6e305a7e868b502069ece5177 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Nusser?= Date: Thu, 14 Jul 2016 11:57:30 +0200 Subject: Introduce VST plugin information. --- pluginlv2.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'pluginlv2.h') 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& input_events, std::vector& output_events, -- cgit v1.2.3