summaryrefslogtreecommitdiff
path: root/src/channel.h
diff options
context:
space:
mode:
authordeva <deva>2011-03-01 19:19:02 +0000
committerdeva <deva>2011-03-01 19:19:02 +0000
commite190d38057892b69246391841b234a368bc2b4ad (patch)
tree34f946bc1c3b86997d4cd45e63c433ef07b36486 /src/channel.h
parentc393edc920f8ee126d1bced3500b6bc1ecf86f83 (diff)
MAJOR rewrite of the internals. New input/output 'plugin' system. Still a lot missing.
Diffstat (limited to 'src/channel.h')
-rw-r--r--src/channel.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/channel.h b/src/channel.h
index 4c512d5..7aadc3c 100644
--- a/src/channel.h
+++ b/src/channel.h
@@ -27,15 +27,21 @@
#ifndef __DRUMGIZMO_CHANNEL_H__
#define __DRUMGIZMO_CHANNEL_H__
+#include <vector>
#include <string>
-#include <jack/jack.h>
+
+#include "audio.h"
class Channel {
public:
- Channel(std::string name);
+ Channel(std::string name = "");
std::string name;
- jack_port_t *port;
+ channel_t num;
};
+typedef Channel InstrumentChannel;
+
+typedef std::vector< Channel > Channels;
+
#endif/*__DRUMGIZMO_CHANNEL_H__*/