From be64ddf9da525cd5c6757464efc966052731ba71 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Tue, 26 May 2020 19:54:25 +0200 Subject: Change LV2_Descriptor and LV2UI_Descriptor signatures in function calls. --- pluginlv2.cc | 4 ++-- pluginlv2.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pluginlv2.cc b/pluginlv2.cc index d12c0e7..c61beba 100644 --- a/pluginlv2.cc +++ b/pluginlv2.cc @@ -86,7 +86,7 @@ void PluginLV2::setLatency(float latency) } } -LV2_Handle PluginLV2::instantiate(const struct _LV2_Descriptor* descriptor, +LV2_Handle PluginLV2::instantiate(const LV2_Descriptor* descriptor, double sample_rate, const char* bundle_path, const LV2_Feature *const *features) @@ -616,7 +616,7 @@ const void* PluginLV2::extensionData(const char *uri) // // GUI // -LV2UI_Handle PluginLV2::uiInstantiate(const struct _LV2UI_Descriptor*descriptor, +LV2UI_Handle PluginLV2::uiInstantiate(const LV2UI_Descriptor*descriptor, const char * plugin_uri, const char * bundle_path, LV2UI_Write_Function write_function, diff --git a/pluginlv2.h b/pluginlv2.h index 8365de7..a0ac413 100644 --- a/pluginlv2.h +++ b/pluginlv2.h @@ -192,7 +192,7 @@ public: void closeWindow() override; public: - static LV2_Handle instantiate(const struct _LV2_Descriptor* descriptor, + static LV2_Handle instantiate(const LV2_Descriptor* descriptor, double sample_rate, const char* bundle_path, const LV2_Feature* const * features); @@ -222,7 +222,7 @@ public: uint32_t flags, const LV2_Feature *const * features); - static LV2UI_Handle uiInstantiate(const struct _LV2UI_Descriptor * descriptor, + static LV2UI_Handle uiInstantiate(const LV2UI_Descriptor * descriptor, const char * plugin_uri, const char * bundle_path, LV2UI_Write_Function write_function, -- cgit v1.2.3