summaryrefslogtreecommitdiff
path: root/plugin.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-07-14 17:00:10 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2016-07-14 17:00:10 +0200
commita9eadcc1b483d5d30a8443e78fa4d84c8f18d6c3 (patch)
treef5897ad46c0bc4cb8c4b3cfd1df3b07b66221774 /plugin.h
parent53b6cbafc8923cb6e305a7e868b502069ece5177 (diff)
Add 'get' prefix to metadata info methods. Fix test plugin.
Diffstat (limited to 'plugin.h')
-rw-r--r--plugin.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugin.h b/plugin.h
index 6519827..3874fed 100644
--- a/plugin.h
+++ b/plugin.h
@@ -33,12 +33,12 @@
class MidiEvent;
-//! Contains the same plugin categories as the VST enum VstPlugCategory
+//! Plugin categories.
enum class PluginCategory
{
Unknown = 0, // Unknown, category not implemented
Effect, // Simple Effect
- Synth, // VST Instrument (Synths, samplers,...)
+ Synth, // Instrument (Synths, samplers,...)
Analysis, // Scope, Tuner, ...
Mastering, // Dynamics, ...
Spacializer, // Panners, ...
@@ -123,11 +123,11 @@ public:
//! Get unique plugin id.
virtual std::string getId() = 0;
- // Functions used to set plugin information for VST
- virtual std::string effectName() = 0;
- virtual std::string vendorString() = 0;
- virtual std::string productString() = 0;
- virtual PluginCategory pluginCategory() = 0;
+ // Functions used to set plugin information.
+ virtual std::string getEffectName() = 0;
+ virtual std::string getVendorString() = 0;
+ virtual std::string getProductString() = 0;
+ virtual PluginCategory getPluginCategory() = 0;
//! Process callback.
virtual void process(std::size_t pos,