summaryrefslogtreecommitdiff
path: root/pluginvst.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-03-20 09:18:53 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2016-03-20 09:18:53 +0100
commit9e6dbac98ab9cd9f92a2700d783a935fb8828d87 (patch)
treeb3b79d1e532250e939012593b48488841c692d53 /pluginvst.h
parent86f236a025d3d5aae32d34eefc400ef16a76e0ef (diff)
Move VST setup code to init function.
Diffstat (limited to 'pluginvst.h')
-rw-r--r--pluginvst.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/pluginvst.h b/pluginvst.h
index 8e7334e..d4bd1a5 100644
--- a/pluginvst.h
+++ b/pluginvst.h
@@ -43,6 +43,10 @@ class PluginVST
, public AudioEffectX
{
public:
+ //! Call this to set up number of inputs/outpus, unique id etc...
+ //! IMPORTANT: This must be called form the constructor.
+ void init() override;
+
//! Get current free-wheel mode.
bool getFreeWheel() const override;