summaryrefslogtreecommitdiff
path: root/src/drumgizmo.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-29 22:43:33 +0200
commit324502145b2a5fec38928509c8b3d9f8eb8bf47d (patch)
tree393f9e40bf4ae033217df49eacb0ed76b64d475c /src/drumgizmo.h
parent253a7fbc4a13d459cb2bd19f51ad578c0e1814f2 (diff)
Settings.
Diffstat (limited to 'src/drumgizmo.h')
-rw-r--r--src/drumgizmo.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/drumgizmo.h b/src/drumgizmo.h
index 632d5fc..63348da 100644
--- a/src/drumgizmo.h
+++ b/src/drumgizmo.h
@@ -50,6 +50,8 @@
#include "configfile.h"
+#include "settings.h"
+
#define MAX_NUM_CHANNELS 64
#define REFSFILE "refs.conf"
#define RESAMPLER_INPUT_BUFFER 64
@@ -58,7 +60,8 @@ class DrumGizmo
: public MessageReceiver
{
public:
- DrumGizmo(AudioOutputEngine *outputengine, AudioInputEngine *inputengine);
+ DrumGizmo(Settings& settings,
+ AudioOutputEngine *outputengine, AudioInputEngine *inputengine);
virtual ~DrumGizmo();
bool loadkit(std::string kitfile);
@@ -106,6 +109,7 @@ protected:
size_t framesize;
bool freewheel;
-
+
std::vector<event_t> events;
+ Settings& settings;
};