summaryrefslogtreecommitdiff
path: root/src/drumkitparser.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/drumkitparser.h
parenta359d234ff53bcdab671faa169f45c4f14f5575d (diff)
Add bleed controls for the drumkit with priority over those set in the instrument files.
Diffstat (limited to 'src/drumkitparser.h')
-rw-r--r--src/drumkitparser.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/drumkitparser.h b/src/drumkitparser.h
index 5c5cf9f..e4645c3 100644
--- a/src/drumkitparser.h
+++ b/src/drumkitparser.h
@@ -49,7 +49,12 @@ private:
DrumKit& kit;
std::string path;
- std::unordered_map<std::string, std::string> channelmap;
+ struct channel_attribute_t
+ {
+ std::string cname;
+ main_state_t main_state;
+ };
+ std::unordered_map<std::string, channel_attribute_t> channelmap;
std::string instr_file;
std::string instr_name;
std::string instr_group;