summaryrefslogtreecommitdiff
path: root/src/jackclient.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/jackclient.h')
-rw-r--r--src/jackclient.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/jackclient.h b/src/jackclient.h
index 02d74e9..cf32eb0 100644
--- a/src/jackclient.h
+++ b/src/jackclient.h
@@ -32,6 +32,13 @@
#include <jack/jack.h>
#include <jack/midiport.h>
+#include "event.h"
+#include "sample.h"
+
+#define TEST_MIDI
+
+typedef std::vector< jack_port_t *> Ports;
+
class JackClient {
public:
JackClient(size_t num_inputs = 16, size_t num_outputs = 16);
@@ -52,9 +59,12 @@ public:
private:
jack_client_t *jack_client;
- std::vector< jack_port_t *> input_ports;
- std::vector< jack_port_t *> output_ports;
+ Ports input_ports;
+ Ports output_ports;
jack_port_t *midi_port;
+
+ Sample *sample;
+ Events events;
};
#endif/*__DRUMGIZMO_JACKCLIENT_H__*/