summaryrefslogtreecommitdiff
path: root/src/channel.h
diff options
context:
space:
mode:
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;