diff options
author | Tim E. Real <termtech@rogers.com> | 2012-12-08 07:55:08 +0000 |
---|---|---|
committer | Tim E. Real <termtech@rogers.com> | 2012-12-08 07:55:08 +0000 |
commit | 06ad98cc7ba5a9d282be31dc8dc65c447b7ada94 (patch) | |
tree | 9b92a253af54d055f5d167955073e66cdf0f6c7b /muse2/muse/vst_native.h | |
parent | b5e36f27ecbb8c0a948aeeabe5698e86624f79a8 (diff) |
Native VST fixes and changes.
Diffstat (limited to 'muse2/muse/vst_native.h')
-rw-r--r-- | muse2/muse/vst_native.h | 27 |
1 files changed, 4 insertions, 23 deletions
diff --git a/muse2/muse/vst_native.h b/muse2/muse/vst_native.h index 3b877cd8..c97cca7c 100644 --- a/muse2/muse/vst_native.h +++ b/muse2/muse/vst_native.h @@ -44,41 +44,22 @@ typedef class VstNativeSynthIF VSTPlugin; #include "aeffectx.h" -//#define VST_2_3_EXTENSIONS // TODO Detect this ? -#define VST_2_4_EXTENSIONS // TODO Detect this ? -#define VST_NATIVE_FORCE_DEPRECATED // TODO On or off? - -#ifndef VST_SDK_SUPPORT -#ifndef effCanBeAutomated -#define effCanBeAutomated 26 -#endif +#ifdef VST_VESTIGE_SUPPORT #ifndef effGetProgramNameIndexed #define effGetProgramNameIndexed 29 #endif -#ifndef effBeginSetProgram -#define effBeginSetProgram 67 -#endif -#ifndef effEndSetProgram -#define effEndSetProgram 68 -#endif -#ifndef effStartProcess -#define effStartProcess 71 -#endif -#ifndef effStopProcess -#define effStopProcess 72 -#endif #endif -#if defined(VST_2_4_EXTENSIONS) -#ifdef VST_SDK_SUPPORT +#ifndef VST_2_4_EXTENSIONS +#ifndef VST_VESTIGE_SUPPORT typedef long VstInt32; typedef long VstIntPtr; #else typedef int32_t VstInt32; typedef intptr_t VstIntPtr; -#endif #define VSTCALLBACK #endif +#endif #include "vst_native_editor.h" #include "synth.h" |