summaryrefslogtreecommitdiff
path: root/src/midimapper.h
diff options
context:
space:
mode:
authordeva <deva>2008-07-22 21:00:01 +0000
committerdeva <deva>2008-07-22 21:00:01 +0000
commitf6cabfe8fe888e00388a815541084b0fa332a462 (patch)
treed39301b9e194e2e58a24c92ec5526d05fa1b4a3a /src/midimapper.h
parent14309bc447960536c34a438dffb93f520dad40fa (diff)
DrumKit parser. Internal drumkit now used in events. This is the first milestone.
Diffstat (limited to 'src/midimapper.h')
-rw-r--r--src/midimapper.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/midimapper.h b/src/midimapper.h
index d0b6a72..a967159 100644
--- a/src/midimapper.h
+++ b/src/midimapper.h
@@ -29,16 +29,19 @@
#include <jack/midiport.h>
+#include "drumkit.h"
+
#include <map>
class MidiMapper {
public:
- MidiMapper();
+ MidiMapper(DrumKit *drumkit);
- int map(jack_midi_event_t event);
+ Sample *map(jack_midi_event_t event);
private:
std::map< int, int > _map;
+ DrumKit *drumkit;
};
#endif/*__DRUMGIZMO_MIDIMAPPER_H__*/