summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/vst_types.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-11-22 01:28:34 +0000
committerCarl Hetherington <carl@carlh.net>2011-11-22 01:28:34 +0000
commitff98e0490d240e1010da92460601b0e7fb5ee848 (patch)
tree10a7e8c1c3a319ba6abb6584659bf942374842a2 /libs/ardour/ardour/vst_types.h
parentd98b2b6039f4733bc264046810d56c5b56ddb288 (diff)
Share VSTHandle and VSTInfo between windows/linux VSTs.
git-svn-id: svn://localhost/ardour2/branches/3.0@10758 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/vst_types.h')
-rw-r--r--libs/ardour/ardour/vst_types.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/libs/ardour/ardour/vst_types.h b/libs/ardour/ardour/vst_types.h
index 5e97427d9b..f441844e2d 100644
--- a/libs/ardour/ardour/vst_types.h
+++ b/libs/ardour/ardour/vst_types.h
@@ -20,6 +20,8 @@
#ifndef __ardour_vst_types_h__
#define __ardour_vst_types_h__
+#include "ardour/vestige/aeffectx.h"
+
struct _VSTKey
{
/** virtual-key code, or 0 if this _VSTFXKey is a `character' key */
@@ -30,4 +32,41 @@ struct _VSTKey
typedef struct _VSTKey VSTKey;
+struct _VSTInfo
+{
+ char *name;
+ char *creator;
+ int UniqueID;
+ char *Category;
+
+ int numInputs;
+ int numOutputs;
+ int numParams;
+
+ int wantMidi;
+ int wantEvents;
+ int hasEditor;
+ int canProcessReplacing;
+
+ char** ParamNames;
+ char** ParamLabels;
+};
+
+typedef struct _VSTInfo VSTInfo;
+
+typedef AEffect * (* main_entry_t) (audioMasterCallback);
+
+struct _VSTHandle
+{
+ void* dll;
+ char* name;
+ char* nameptr;
+
+ main_entry_t main_entry;
+
+ int plugincnt;
+};
+
+typedef struct _VSTHandle VSTHandle;
+
#endif