From f6cabfe8fe888e00388a815541084b0fa332a462 Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 22 Jul 2008 21:00:01 +0000 Subject: DrumKit parser. Internal drumkit now used in events. This is the first milestone. --- src/jackclient.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/jackclient.h') 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 #include +#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; }; -- cgit v1.2.3