summaryrefslogtreecommitdiff
path: root/src/instrument.h
diff options
context:
space:
mode:
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;
};