summaryrefslogtreecommitdiff
path: root/src/instrument.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/instrument.h
parent6a96bcf1659d07cd3a7f7e65519007abfaeda2a0 (diff)
Implement master bleed control in the instrument parser and engine.
Diffstat (limited to 'src/instrument.h')
-rw-r--r--src/instrument.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/instrument.h b/src/instrument.h
index 41fe886..4076b48 100644
--- a/src/instrument.h
+++ b/src/instrument.h
@@ -42,6 +42,7 @@
class Instrument
{
friend class InstrumentParser;
+ friend class DrumKitParser;
public:
Instrument(Settings& settings, Random& rand);
~Instrument();
@@ -78,6 +79,7 @@ private:
void finalise(); ///< Signal instrument that no more samples will be added.
std::vector<Sample*> samplelist;
+ std::vector<InstrumentChannel> instrument_channels;
size_t lastpos;
float mod;