diff options
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 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}; |