summaryrefslogtreecommitdiff
path: root/libs/fst
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-11-21 22:46:20 +0000
committerCarl Hetherington <carl@carlh.net>2011-11-21 22:46:20 +0000
commitbae2dcd4bf57d2ce54f266f4048df7f641866a69 (patch)
treefdf2ec3d9bc0f4e0ee437753bbc0f95e016574f6 /libs/fst
parent6de0f8a8a8348b502344bbd3a50b8c54f4d7afaf (diff)
Share VSTKey struct beween linux and windows VST.
git-svn-id: svn://localhost/ardour2/branches/3.0@10750 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/fst')
-rw-r--r--libs/fst/fst.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/libs/fst/fst.h b/libs/fst/fst.h
index 6cf057d2fa..86a43ba8d8 100644
--- a/libs/fst/fst.h
+++ b/libs/fst/fst.h
@@ -5,6 +5,8 @@
#include <signal.h>
#include <pthread.h>
+#include "ardour/vst_types.h"
+
/**
* Display FST error message.
*
@@ -34,7 +36,6 @@ void fst_error (const char *fmt, ...);
typedef struct _FST FST;
typedef struct _FSTHandle FSTHandle;
typedef struct _FSTInfo FSTInfo;
-typedef struct _FSTKey FSTKey;
struct _FSTInfo
{
@@ -71,14 +72,6 @@ struct _FSTHandle
int plugincnt;
};
-struct _FSTKey
-{
- /** virtual-key code, or 0 if this _FSTKey is a `character' key */
- int special;
- /** `character' key, or 0 if this _FSTKey is a virtual-key */
- int character;
-};
-
struct _FST
{
struct AEffect* plugin;
@@ -101,7 +94,7 @@ struct _FST
float *want_params;
float *set_params;
- FSTKey pending_keys[16];
+ VSTKey pending_keys[16];
int n_pending_keys;
int dispatcher_wantcall;