diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2015-12-20 16:54:07 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2015-12-20 16:54:07 +0100 |
commit | 4c5b1b6713628d91554d934ee72661b83232bbf7 (patch) | |
tree | 21ce6867bb467f47d32af3a64b2c0955082df58a /drumgizmo/audioinputenginedl.h | |
parent | 89cfec5ae70d3770bc1fb55c658c2551c9a9dd42 (diff) |
Free dlopen resources.
Diffstat (limited to 'drumgizmo/audioinputenginedl.h')
-rw-r--r-- | drumgizmo/audioinputenginedl.h | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/drumgizmo/audioinputenginedl.h b/drumgizmo/audioinputenginedl.h index ed1fb27..94bd89d 100644 --- a/drumgizmo/audioinputenginedl.h +++ b/drumgizmo/audioinputenginedl.h @@ -57,19 +57,21 @@ public: void post(); private: - void *ptr; - input_create_func_t i_create; - input_destroy_func_t i_destroy; - input_init_func_t i_init; - input_setparm_func_t i_setparm; - input_start_func_t i_start; - input_stop_func_t i_stop; - input_pre_func_t i_pre; - input_run_func_t i_run; - input_post_func_t i_post; + void *ptr{nullptr}; + input_create_func_t i_create{nullptr}; + input_destroy_func_t i_destroy{nullptr}; + input_init_func_t i_init{nullptr}; + input_setparm_func_t i_setparm{nullptr}; + input_start_func_t i_start{nullptr}; + input_stop_func_t i_stop{nullptr}; + input_pre_func_t i_pre{nullptr}; + input_run_func_t i_run{nullptr}; + input_post_func_t i_post{nullptr}; bool is_jack_plugin; - JackClient *jackclient; + JackClient *jackclient{nullptr}; + + void *lib{nullptr}; }; #endif/*__DRUMGIZMO_AUDIOINPUTENGINEDL_H__*/ |