summaryrefslogtreecommitdiff
path: root/src/drumgizmo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/drumgizmo.h')
-rw-r--r--src/drumgizmo.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/drumgizmo.h b/src/drumgizmo.h
index 2ef0aeb..37b26e5 100644
--- a/src/drumgizmo.h
+++ b/src/drumgizmo.h
@@ -54,11 +54,13 @@ public:
virtual ~DrumGizmo();
bool loadkit(std::string kitfile);
- std::string drumkitfile();
bool init(bool preload = true);
-
- void run();
+
+ /**
+ * @param endpos number of samples to process, -1 := never stop.
+ */
+ void run(int endpos);
bool run(size_t pos, sample_t *samples, size_t nsamples);
void stop();
@@ -69,8 +71,6 @@ public:
std::string configString();
bool setConfigString(std::string cfg);
- std::string kitfile;
-
void handleMessage(Message *msg);
int samplerate();