summaryrefslogtreecommitdiff
path: root/drumgizmo/input/jackmidi.h
diff options
context:
space:
mode:
Diffstat (limited to 'drumgizmo/input/jackmidi.h')
-rw-r--r--drumgizmo/input/jackmidi.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/drumgizmo/input/jackmidi.h b/drumgizmo/input/jackmidi.h
index 5adec4e..56d622d 100644
--- a/drumgizmo/input/jackmidi.h
+++ b/drumgizmo/input/jackmidi.h
@@ -48,7 +48,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;
// based on JackProcess
@@ -59,7 +59,5 @@ private:
std::unique_ptr<JackPort> port;
std::size_t pos;
-
- event_t* list;
- size_t listsize;
+ std::vector<event_t> events;
};