summaryrefslogtreecommitdiff
path: root/lv2/input_lv2.h
diff options
context:
space:
mode:
Diffstat (limited to 'lv2/input_lv2.h')
-rw-r--r--lv2/input_lv2.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/lv2/input_lv2.h b/lv2/input_lv2.h
index 00e0b51..aa39a23 100644
--- a/lv2/input_lv2.h
+++ b/lv2/input_lv2.h
@@ -27,12 +27,11 @@
#ifndef __DRUMGIZMO_INPUT_LV2_H__
#define __DRUMGIZMO_INPUT_LV2_H__
-#include <audioinputengine.h>
-#include <midimapper.h>
+#include <audioinputenginemidi.h>
#include <lv2/lv2plug.in/ns/ext/event/event-helpers.h>
-class InputLV2 : public AudioInputEngine {
+class InputLV2 : public AudioInputEngineMidi {
public:
InputLV2();
~InputLV2();
@@ -48,12 +47,8 @@ public:
event_t *run(size_t pos, size_t len, size_t *nevents);
void post();
- void loadMidiMap(std::string file);
-
LV2_Event_Buffer *eventPort;
- MidiMapper mmap;
-
private:
Instruments *instruments;
};