summaryrefslogtreecommitdiff
path: root/distrho/DistrhoPlugin.hpp
diff options
context:
space:
mode:
authorfalkTX <falktx@gmail.com>2014-08-16 21:39:14 +0100
committerfalkTX <falktx@gmail.com>2014-08-16 21:39:14 +0100
commit04c9af69ee73c5f4e6f0eac5c942e0d905e7d016 (patch)
treeeb8ec08a2f2696b05348a98f969a1a47e3105df6 /distrho/DistrhoPlugin.hpp
parent9afbad6c59c6e6a8d320c1e79fea834a8b0db265 (diff)
Misc
Diffstat (limited to 'distrho/DistrhoPlugin.hpp')
-rw-r--r--distrho/DistrhoPlugin.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/distrho/DistrhoPlugin.hpp b/distrho/DistrhoPlugin.hpp
index dee135a2..5a4f7ef1 100644
--- a/distrho/DistrhoPlugin.hpp
+++ b/distrho/DistrhoPlugin.hpp
@@ -385,7 +385,7 @@ struct TimePosition {
They can be called from a plugin instance at anytime unless stated otherwise.
All other methods are to be implemented by the plugin and will be called by the host.
- Shortly after a plugin instance is created the various d_init* functions will be called so the host can get plugin information.
+ Shortly after a plugin instance is created, the various d_init* functions will be called by the host.
Host will call d_activate() before d_run(), and d_deactivate() before the plugin instance is destroyed.
There is no limit on how many times d_run() is called only that activate/deactivate will be called in between.
@@ -466,6 +466,7 @@ protected:
/**
Get the plugin name.
+ Returns DISTRHO_PLUGIN_NAME by default.
*/
virtual const char* d_getName() const { return DISTRHO_PLUGIN_NAME; }
@@ -495,7 +496,7 @@ protected:
Get the plugin unique Id.
This value is used by LADSPA, DSSI and VST plugin formats.
*/
- virtual long d_getUniqueId() const = 0;
+ virtual int64_t d_getUniqueId() const = 0;
/* --------------------------------------------------------------------------------------------------------
* Init */