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>2016-01-20 13:31:10 +0100
commitc3841a8cec9d239bca27a113c013a032dfc658bd (patch)
treec5ce7fab48505ac383ac72acd80de030c8f18a2d /drumgizmo/audioinputenginedl.h
parent91f5d293bce4a15a1883d0693f478917bb256b40 (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 94bd89d..1cf2c1d 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{nullptr};
input_create_func_t i_create{nullptr};