diff options
author | David Robillard <d@drobilla.net> | 2012-02-25 08:43:23 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-02-25 08:43:23 +0000 |
commit | 4d7810dee89b36107b61f4124fd5ce3908abd705 (patch) | |
tree | f53d514f8df2578601c16b0810b1dcde3214d1d6 /gtk2_ardour/lv2_plugin_ui.h | |
parent | 1cf6e280b877127e76733589f990c0b438054e36 (diff) |
Full round-trip message communication between LV2 UIs and plugins.
Still a little bit rough around the edges, but it works. This can be tested
with the eg-sampler plugin from LV2 svn (whose UI can load different samples).
git-svn-id: svn://localhost/ardour2/branches/3.0@11519 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/lv2_plugin_ui.h')
-rw-r--r-- | gtk2_ardour/lv2_plugin_ui.h | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/gtk2_ardour/lv2_plugin_ui.h b/gtk2_ardour/lv2_plugin_ui.h index b9d644081c..8500312856 100644 --- a/gtk2_ardour/lv2_plugin_ui.h +++ b/gtk2_ardour/lv2_plugin_ui.h @@ -79,12 +79,19 @@ class LV2PluginUI : public PlugUIBase, public Gtk::VBox void* _inst; - static void lv2_ui_write( - void* controller, - uint32_t port_index, - uint32_t buffer_size, - uint32_t format, - const void* buffer); + static void write_from_ui(void* controller, + uint32_t port_index, + uint32_t buffer_size, + uint32_t format, + const void* buffer); + + static void write_to_ui(void* controller, + uint32_t port_index, + uint32_t buffer_size, + uint32_t format, + const void* buffer); + + bool update_timeout(); void lv2ui_instantiate(const std::string& title); void lv2ui_free(); |