X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fpluginlv2.h;h=075816a70173fa9fa7c1438499a58c512f3c87a1;hp=913caed068b44e2fcf35616a2b0234a5575877c4;hb=eb7b1a0bb84ed4f40b651b74ff72e63b97cce1c2;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1 diff --git a/cinelerra-5.1/cinelerra/pluginlv2.h b/cinelerra-5.1/cinelerra/pluginlv2.h index 913caed0..075816a7 100644 --- a/cinelerra-5.1/cinelerra/pluginlv2.h +++ b/cinelerra-5.1/cinelerra/pluginlv2.h @@ -64,11 +64,10 @@ public: int load_lv2(const char *path,char *title=0); int init_lv2(PluginLV2ClientConfig &conf, int sample_rate, int bfrsz); virtual int is_forked() { return 0; } - - static LV2_URID uri_table_map(LV2_URID_Map_Handle handle, const char *uri); - static const char *uri_table_unmap(LV2_URID_Map_Handle handle, LV2_URID urid); - static uint32_t uri_to_id(LV2_URI_Map_Callback_Data callback_data, - const char *map, const char *uri); + static uint32_t map_uri(LV2_URID_Map_Handle handle, const char *uri); + static const char *unmap_uri(LV2_URID_Unmap_Handle handle, LV2_URID urid); + LV2_URID_Map uri_map; + LV2_URID_Unmap uri_unmap; void connect_ports(PluginLV2ClientConfig &conf, int ports); void del_buffer(); void new_buffer(int64_t sz); @@ -80,7 +79,6 @@ public: const LilvPlugin *lilv; LilvUIs *lilv_uis; - LV2_URI_Map_Feature uri_map; PluginLV2UriTable uri_table; LV2_URID_Map map; LV2_Feature map_feature;