summaryrefslogtreecommitdiff
path: root/src/channel.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2017-09-03 14:08:41 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2017-09-03 14:08:41 +0200
commit1c25d3a69ac27dc1f93bca3a71996e757b452c4b (patch)
treea67541f62bd35577003f812b35ab6a35098e36ae /src/channel.h
parenta359d234ff53bcdab671faa169f45c4f14f5575d (diff)
Add bleed controls for the drumkit with priority over those set in the instrument files.
Diffstat (limited to 'src/channel.h')
-rw-r--r--src/channel.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/channel.h b/src/channel.h
index 52b2a9b..aaa2843 100644
--- a/src/channel.h
+++ b/src/channel.h
@@ -34,6 +34,13 @@
#define ALL_CHANNELS ((channel_t)0xffffffff)
#define NO_CHANNEL ((channel_t)0xfffffffe)
+enum class main_state_t
+{
+ unset,
+ is_main,
+ is_not_main
+};
+
class Channel
{
public:
@@ -49,7 +56,7 @@ class InstrumentChannel
public:
InstrumentChannel(const std::string& name = "");
- bool main{true};
+ main_state_t main{main_state_t::unset};
};
typedef std::vector<Channel> Channels;