summaryrefslogtreecommitdiff
path: root/src/jackclient.h
diff options
context:
space:
mode:
authordeva <deva>2008-07-21 11:01:04 +0000
committerdeva <deva>2008-07-21 11:01:04 +0000
commit242285d4863a66b4033ca7b5371bae5160ccf62c (patch)
tree82764064fe098afeaff7b74a9191bafe8777ce44 /src/jackclient.h
parentad01025218b7883fcec1e9ef9f6df5b5f6f698e8 (diff)
First very simple sample implementation. Basic MIDI test framework.
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__*/