summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2018-06-08 00:26:40 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2018-06-08 00:26:40 +0200
commit28022f4bd1cafb1b545cd40b5862a222a5f32773 (patch)
tree21040d15c8b8944b4a2cf092b5672c27ca7e7c79 /src
parentf74bd9908577463d77197daefa3f79d788c134c4 (diff)
Add main channel tri-state to DOM.
Diffstat (limited to 'src')
-rw-r--r--src/DGDOM.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/DGDOM.h b/src/DGDOM.h
index 188a39b..308a880 100644
--- a/src/DGDOM.h
+++ b/src/DGDOM.h
@@ -29,6 +29,8 @@
#include <vector>
#include <string>
+#include "channel.h"
+
// Instrument DOM:
struct AudioFileDOM
@@ -48,6 +50,7 @@ struct SampleDOM
struct InstrumentChannelDOM
{
std::string name;
+ main_state_t main;
};
struct InstrumentDOM
@@ -69,7 +72,7 @@ struct ChannelMapDOM
{
std::string in;
std::string out;
- bool main;
+ main_state_t main;
};
struct InstrumentRefDOM