Browse Source

Misc

gh-pages
falkTX 9 years ago
parent
commit
04c9af69ee
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      distrho/DistrhoPlugin.hpp

+ 3
- 2
distrho/DistrhoPlugin.hpp View File

@@ -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 */


Loading…
Cancel
Save