summaryrefslogtreecommitdiff
path: root/src/audioinputengine.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/audioinputengine.h')
-rw-r--r--src/audioinputengine.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/audioinputengine.h b/src/audioinputengine.h
index 22963ee..9dfd8f2 100644
--- a/src/audioinputengine.h
+++ b/src/audioinputengine.h
@@ -28,6 +28,7 @@
#define __DRUMGIZMO_AUDIOINPUTENGINE_H__
#include <string>
+#include <vector>
#include <event.h>
@@ -47,7 +48,7 @@ public:
virtual void stop() = 0;
virtual void pre() = 0;
- virtual event_t *run(size_t pos, size_t len, size_t *nevents) = 0;
+ virtual void run(size_t pos, size_t len, std::vector<event_t>& events) = 0;
virtual void post() = 0;
};