summaryrefslogtreecommitdiff
path: root/src/instrument.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/instrument.h')
-rw-r--r--src/instrument.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/instrument.h b/src/instrument.h
index de5546b..a531aec 100644
--- a/src/instrument.h
+++ b/src/instrument.h
@@ -36,13 +36,13 @@
#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,7 +78,7 @@ private:
size_t lastpos;
float mod;
-
+ Settings& settings;
Random rand;
};