diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2015-07-30 18:22:16 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2015-07-30 18:22:16 +0200 |
commit | 9a2da5246960c024907cbf3c4cd9fde61a329207 (patch) | |
tree | 333820813484184bcba5d1534fdc5f2ff6ecbe5a /drumgizmo/audioinputenginedl.h | |
parent | 509568c03ca4b64266675735d677267ec265c49e (diff) |
Add free-wheel mode for Jack (untested).
Diffstat (limited to 'drumgizmo/audioinputenginedl.h')
-rw-r--r-- | drumgizmo/audioinputenginedl.h | 4 |
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; |