summaryrefslogtreecommitdiff
path: root/drumgizmo/audioinputenginedl.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2015-07-30 18:22:16 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2015-07-30 18:22:16 +0200
commit9a2da5246960c024907cbf3c4cd9fde61a329207 (patch)
tree333820813484184bcba5d1534fdc5f2ff6ecbe5a /drumgizmo/audioinputenginedl.h
parent509568c03ca4b64266675735d677267ec265c49e (diff)
Add free-wheel mode for Jack (untested).
Diffstat (limited to 'drumgizmo/audioinputenginedl.h')
-rw-r--r--drumgizmo/audioinputenginedl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drumgizmo/audioinputenginedl.h b/drumgizmo/audioinputenginedl.h
index ed1fb27..7178f75 100644
--- a/drumgizmo/audioinputenginedl.h
+++ b/drumgizmo/audioinputenginedl.h
@@ -40,6 +40,8 @@ typedef void (*input_pre_func_t)(void*);
typedef event_t* (*input_run_func_t)(void*,size_t,size_t,size_t*);
typedef void (*input_post_func_t)(void*);
+class DrumGizmo;
+
class AudioInputEngineDL : public AudioInputEngine {
public:
AudioInputEngineDL(std::string name);
@@ -56,6 +58,8 @@ public:
event_t *run(size_t pos, size_t len, size_t *nevents);
void post();
+ void setEngine(DrumGizmo* drumgizmo);
+
private:
void *ptr;
input_create_func_t i_create;