summaryrefslogtreecommitdiff
path: root/drumgizmo/input/midifile.h
diff options
context:
space:
mode:
Diffstat (limited to 'drumgizmo/input/midifile.h')
-rw-r--r--drumgizmo/input/midifile.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drumgizmo/input/midifile.h b/drumgizmo/input/midifile.h
index ca00359..9920a3b 100644
--- a/drumgizmo/input/midifile.h
+++ b/drumgizmo/input/midifile.h
@@ -47,7 +47,7 @@ public:
bool start() override;
void stop() override;
void pre() override;
- event_t* run(size_t pos, size_t len, size_t* nevents) override;
+ void run(size_t pos, size_t len, std::vector<event_t>& events) override;
void post() override;
private:
@@ -58,5 +58,5 @@ private:
float speed;
int track;
bool loop;
- double offset;
+ double offset, samplerate;
};