summaryrefslogtreecommitdiff
path: root/drumgizmo/input/midifile.h
diff options
context:
space:
mode:
authorChristian Glöckner <cgloeckner@freenet.de>2016-01-21 16:42:37 +0100
committerAndré Nusser <andre.nusser@googlemail.com>2016-02-09 09:02:18 +0100
commit3ab30fd4168217894ee781cf93df522d3565cec8 (patch)
treefdb1da6cd78e9d3ae182b7b64e742e505a336436 /drumgizmo/input/midifile.h
parenta0a16d9cdb9d0522053c2e830b7440e9e96231a9 (diff)
Made midi-in-wav-out work again
Diffstat (limited to 'drumgizmo/input/midifile.h')
-rw-r--r--drumgizmo/input/midifile.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/drumgizmo/input/midifile.h b/drumgizmo/input/midifile.h
index c2fcdb6..85abfc9 100644
--- a/drumgizmo/input/midifile.h
+++ b/drumgizmo/input/midifile.h
@@ -34,8 +34,6 @@
#include <midimapper.h>
#include <midimapparser.h>
-#define NOTE_ON 0x90
-
class MidifileInputEngine
: public AudioInputEngine {
public:
@@ -56,7 +54,7 @@ class MidifileInputEngine
smf_t* smf;
smf_event_t* current_event;
- MidiMapper midiMapper;
+ MidiMapper midi_mapper;
std::string file, midimap;
float speed;