diff options
author | deva <deva> | 2008-07-22 21:00:01 +0000 |
---|---|---|
committer | deva <deva> | 2008-07-22 21:00:01 +0000 |
commit | f6cabfe8fe888e00388a815541084b0fa332a462 (patch) | |
tree | d39301b9e194e2e58a24c92ec5526d05fa1b4a3a /src/midimapper.h | |
parent | 14309bc447960536c34a438dffb93f520dad40fa (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.h | 7 |
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__*/ |