From 1c25d3a69ac27dc1f93bca3a71996e757b452c4b Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 3 Sep 2017 14:08:41 +0200 Subject: Add bleed controls for the drumkit with priority over those set in the instrument files. --- src/channel.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/channel.h') 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 Channels; -- cgit v1.2.3