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/jackclient.h | |
parent | 14309bc447960536c34a438dffb93f520dad40fa (diff) |
DrumKit parser. Internal drumkit now used in events. This is the first milestone.
Diffstat (limited to 'src/jackclient.h')
-rw-r--r-- | src/jackclient.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/jackclient.h b/src/jackclient.h index 8a31441..8efa654 100644 --- a/src/jackclient.h +++ b/src/jackclient.h @@ -32,6 +32,7 @@ #include <jack/jack.h> #include <jack/midiport.h> +#include "drumkit.h" #include "event.h" #include "sample.h" #include "midimapper.h" @@ -40,7 +41,7 @@ typedef std::vector< jack_port_t *> Ports; class JackClient { public: - JackClient(size_t num_inputs = 16, size_t num_outputs = 16); + JackClient(DrumKit *drumkit); ~JackClient(); void activate(); @@ -62,9 +63,10 @@ private: Ports output_ports; jack_port_t *midi_port; - Sample *sample[32]; Events events; + DrumKit *drumkit; + MidiMapper midimapper; }; |