summaryrefslogtreecommitdiff
path: root/src/instrumentparser.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2017-09-02 10:30:02 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2017-09-02 10:30:02 +0200
commite37c5f5048bb440140dc56ce773d105fc2129385 (patch)
tree0dfe0ab9faec524fd1ee085c6cf763aa15484331 /src/instrumentparser.h
parent6a96bcf1659d07cd3a7f7e65519007abfaeda2a0 (diff)
Implement master bleed control in the instrument parser and engine.
Diffstat (limited to 'src/instrumentparser.h')
-rw-r--r--src/instrumentparser.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/instrumentparser.h b/src/instrumentparser.h
index 512f12f..e87489f 100644
--- a/src/instrumentparser.h
+++ b/src/instrumentparser.h
@@ -41,13 +41,15 @@ public:
virtual int parseFile(const std::string& filename) override;
- std::vector<InstrumentChannel*> channellist;
+ std::vector<InstrumentChannel> channellist;
protected:
virtual void startTag(const std::string& name, const attr_t& attr) override;
virtual void endTag(const std::string& name) override;
private:
+ InstrumentChannel* addOrGetChannel(const std::string& name);
+
Instrument& instrument;
Sample* sample{nullptr};