aboutsummaryrefslogtreecommitdiffstats
path: root/lvz
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-03-11 20:05:25 +0000
committerDavid Robillard <d@drobilla.net>2011-03-11 20:05:25 +0000
commit806187c439b957280fa04333027699c5ac2a07d3 (patch)
tree17d1917f0dd44c861c5c192d6b7e416a7b5e34d4 /lvz
parent778af69ceb24d1675d1825d19c984a6e0278b0e6 (diff)
downloadmda.lv2-806187c439b957280fa04333027699c5ac2a07d3.tar.gz
mda.lv2-806187c439b957280fa04333027699c5ac2a07d3.tar.bz2
mda.lv2-806187c439b957280fa04333027699c5ac2a07d3.zip
Remove a certain acronym.
git-svn-id: http://svn.drobilla.net/lad/trunk/plugins/mdala.lv2@3079 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'lvz')
-rw-r--r--lvz/audioeffectx.h20
1 files changed, 6 insertions, 14 deletions
diff --git a/lvz/audioeffectx.h b/lvz/audioeffectx.h
index 607bd33..855321e 100644
--- a/lvz/audioeffectx.h
+++ b/lvz/audioeffectx.h
@@ -24,22 +24,14 @@
#include "AEffect.h"
-// Some plugins seem to use these names...
-#ifndef VstInt32
-# define VstInt32 LvzInt32
-# define VstInt16 LvzInt16
-#endif
-#define VstEvents LvzEvents
-#define VstMidiEvent LvzMidiEvent
-#define VstPinProperty LvzPinProperty
-
typedef int16_t LvzInt16;
typedef int32_t LvzInt32;
+
typedef int (*audioMasterCallback)(int, int ver, int, int, int, int);
class AEffEditor;
-struct VstFileSelect {
+struct LvzFileSelect {
int reserved;
char* returnPath;
size_t sizeReturnPath;
@@ -141,11 +133,11 @@ public:
virtual void setURI(const char* uri) { URI = uri; }
virtual void setUniqueID(const char* id) { uniqueID = id; }
virtual void suspend() {}
- virtual void beginEdit(VstInt32 index) {}
- virtual void endEdit(VstInt32 index) {}
+ virtual void beginEdit(LvzInt32 index) {}
+ virtual void endEdit(LvzInt32 index) {}
- virtual bool openFileSelector (VstFileSelect* sel) { return false; }
- virtual bool closeFileSelector (VstFileSelect* sel) { return false; }
+ virtual bool openFileSelector (LvzFileSelect* sel) { return false; }
+ virtual bool closeFileSelector (LvzFileSelect* sel) { return false; }
virtual long dispatcher(long opCode, long index, long value, void *ptr, float opt) {
return 0;