X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fardour%2Fvst_types.h;h=2e1c4074f27f603f52f964c605fce38cbf4e00ef;hb=0531d0dd0c544b183320efc32cf2780bc46a17d2;hp=47308aff735d56c8d7bfcc7be43ae32bce58d03b;hpb=2b9421fd391efcddde0be3397cb66e19b744a155;p=ardour.git diff --git a/libs/ardour/ardour/vst_types.h b/libs/ardour/ardour/vst_types.h index 47308aff73..2e1c4074f2 100644 --- a/libs/ardour/ardour/vst_types.h +++ b/libs/ardour/ardour/vst_types.h @@ -20,6 +20,7 @@ #ifndef __ardour_vst_types_h__ #define __ardour_vst_types_h__ +#include #include "ardour/libardour_visibility.h" #include "ardour/vestige/aeffectx.h" @@ -33,22 +34,22 @@ struct LIBARDOUR_API _VSTKey typedef struct _VSTKey VSTKey; -struct LIBARDOUR_API _VSTInfo +struct LIBARDOUR_API _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; }; @@ -61,8 +62,8 @@ struct LIBARDOUR_API _VSTHandle { void* dll; char* name; - char* nameptr; - + char* path; + main_entry_t main_entry; int plugincnt; @@ -82,24 +83,28 @@ struct LIBARDOUR_API _VSTState void* windows_window; int xid; ///< X11 XWindow - + int want_resize; ///< Set to signal the plugin resized its UI void* extra_data; ///< Pointer to any extra data - + void * event_callback_thisptr; void (* eventProc) (void * event); - + VSTHandle* handle; - - int width; - int height; - int wantIdle; - int destroy; - int vst_version; - int has_editor; - + + int width; + int height; + int wantIdle; + + int voffset; + int hoffset; + int gui_shown; + int destroy; + int vst_version; + int has_editor; + int program_set_without_editor; - + int want_program; int want_chunk; int n_pending_keys; @@ -107,7 +112,7 @@ struct LIBARDOUR_API _VSTState int wanted_chunk_size; float * want_params; float * set_params; - + VSTKey pending_keys[16]; int dispatcher_wantcall;