summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/lv2_plugin.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-10-29 19:21:48 +0200
committerRobin Gareus <robin@gareus.org>2016-10-29 19:57:43 +0200
commit3f739738062eb5fd646a1a88a61019b453bbda7f (patch)
tree20785d499e1bd18a99d8bc851989813c1ecced64 /libs/ardour/ardour/lv2_plugin.h
parentf8167ebe20ea5d6e4e8d376dfae1b211887977e9 (diff)
Prototype LV2 extension for plugins to provide Midnams
Diffstat (limited to 'libs/ardour/ardour/lv2_plugin.h')
-rw-r--r--libs/ardour/ardour/lv2_plugin.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/ardour/ardour/lv2_plugin.h b/libs/ardour/ardour/lv2_plugin.h
index a1e38fda32..202ddbb240 100644
--- a/libs/ardour/ardour/lv2_plugin.h
+++ b/libs/ardour/ardour/lv2_plugin.h
@@ -278,6 +278,7 @@ class LIBARDOUR_API LV2Plugin : public ARDOUR::Plugin, public ARDOUR::Workee
#ifdef LV2_EXTENDED
const LV2_Inline_Display_Interface* _display_interface;
+ const LV2_Midnam_Interface* _midname_interface;
#endif
typedef struct {
@@ -294,6 +295,7 @@ class LIBARDOUR_API LV2Plugin : public ARDOUR::Plugin, public ARDOUR::Workee
LV2_Feature _def_state_feature;
#ifdef LV2_EXTENDED
LV2_Feature _queue_draw_feature;
+ LV2_Feature _midnam_feature;
#endif
// Options passed to plugin
@@ -321,6 +323,10 @@ class LIBARDOUR_API LV2Plugin : public ARDOUR::Plugin, public ARDOUR::Workee
#ifdef LV2_EXTENDED
bool has_inline_display ();
Plugin::Display_Image_Surface* render_inline_display (uint32_t, uint32_t);
+
+ bool has_midnam ();
+ bool read_midnam ();
+ std::string midnam_model ();
#endif
void latency_compute_run ();