diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-09-02 10:30:02 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-09-02 10:30:02 +0200 |
commit | e37c5f5048bb440140dc56ce773d105fc2129385 (patch) | |
tree | 0dfe0ab9faec524fd1ee085c6cf763aa15484331 /src/instrumentparser.h | |
parent | 6a96bcf1659d07cd3a7f7e65519007abfaeda2a0 (diff) |
Implement master bleed control in the instrument parser and engine.
Diffstat (limited to 'src/instrumentparser.h')
-rw-r--r-- | src/instrumentparser.h | 4 |
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}; |