summaryrefslogtreecommitdiff
path: root/src/instrument.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-03-23 22:38:44 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2016-03-31 21:05:35 +0200
commitc2997b9b1a5b831e76b1779aa957f2312a6e5089 (patch)
tree6b53afdabd50daed098891b8d2c3de0770ccae18 /src/instrument.h
parent87e14b57d197a7e917ad55250f132fd50df3ccdc (diff)
Settings.
Diffstat (limited to 'src/instrument.h')
-rw-r--r--src/instrument.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/instrument.h b/src/instrument.h
index de5546b..7c8c52d 100644
--- a/src/instrument.h
+++ b/src/instrument.h
@@ -36,13 +36,14 @@
#include "versionstr.h"
#include "random.h"
-class InstrumentParser;
+#include "settings.h"
+
class Instrument
{
friend class InstrumentParser;
public:
- Instrument();
+ Instrument(Settings& settings);
~Instrument();
Sample* sample(level_t level, size_t pos);
@@ -78,6 +79,8 @@ private:
size_t lastpos;
float mod;
+ Settings& settings;
+};
Random rand;
};