aboutsummaryrefslogtreecommitdiffstats
path: root/lvz
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-03-28 04:47:01 +0000
committerDavid Robillard <d@drobilla.net>2012-03-28 04:47:01 +0000
commite878fbbae2d686d86848b5353747fd9e359cb2d0 (patch)
tree5e9200952592fd33be33b3d38d84ad9aa64a7f4d /lvz
parentb9b04f3e6f3930cdebef7339b1162b3c4235469f (diff)
downloadmda.lv2-e878fbbae2d686d86848b5353747fd9e359cb2d0.tar.gz
mda.lv2-e878fbbae2d686d86848b5353747fd9e359cb2d0.tar.bz2
mda.lv2-e878fbbae2d686d86848b5353747fd9e359cb2d0.zip
Remove unused cruft.
git-svn-id: http://svn.drobilla.net/lad/trunk/plugins/mda.lv2@4126 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'lvz')
-rw-r--r--lvz/audioeffectx.h48
1 files changed, 13 insertions, 35 deletions
diff --git a/lvz/audioeffectx.h b/lvz/audioeffectx.h
index 3eba2ee..b415a80 100644
--- a/lvz/audioeffectx.h
+++ b/lvz/audioeffectx.h
@@ -1,19 +1,19 @@
/*
- LVZ - A C++ interface for writing LV2 plugins.
+ LVZ - An ugly C++ interface for writing LV2 plugins.
Copyright 2008-2011 David Robillard <http://drobilla.net>
- This is free software: you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License,
- or (at your option) any later version.
+ This is free software: you can redistribute it and/or modify it under the
+ terms of the GNU General Public License as published by the Free Software
+ Foundation, either version 3 of the License, or (at your option) any later
+ version.
- This software is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- See the GNU General Public License for more details.
+ This software is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ details.
- You should have received a copy of the GNU General Public License
- along with this software. If not, see <http://www.gnu.org/licenses/>.
+ You should have received a copy of the GNU General Public License along with
+ this software. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef LVZ_AUDIOEFFECTX_H
@@ -24,21 +24,10 @@
#include "AEffect.h"
-typedef int16_t LvzInt16;
typedef int32_t LvzInt32;
typedef int (*audioMasterCallback)(int, int ver, int, int, int, int);
-class AEffEditor;
-
-struct LvzFileSelect {
- int reserved;
- char* returnPath;
- size_t sizeReturnPath;
- char** returnMultiplePaths;
- long nbReturnPath;
-};
-
enum LvzPinFlags {
kLvzPinIsActive = 1<<0,
kLvzPinIsStereo = 1<<1
@@ -50,11 +39,6 @@ struct LvzPinProperties {
int flags;
};
-enum LvzOpCodes {
- effEditClose,
- effEditOpen
-};
-
enum LvzEventTypes {
kLvzMidiType = 0
};
@@ -77,17 +61,14 @@ struct LvzEvents {
class AudioEffect {
public:
- AudioEffect() : editor(NULL) {}
+ AudioEffect() {}
virtual ~AudioEffect() {}
virtual void setParameter(LvzInt32 index, float value) = 0;
virtual void setParameterAutomated(LvzInt32 index, float value) {}
virtual float getParameter(LvzInt32 index) = 0;
- void setEditor(AEffEditor* e) { editor = e; }
- virtual void masterIdle() {}
-protected:
- AEffEditor* editor;
+ virtual void masterIdle() {}
};
@@ -138,9 +119,6 @@ public:
virtual void beginEdit(LvzInt32 index) {}
virtual void endEdit(LvzInt32 index) {}
- 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;
}