mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
make LV2 presets immediately available
This commit is contained in:
parent
58363e5490
commit
c4cdf61971
1 changed files with 1 additions and 4 deletions
|
|
@ -1094,13 +1094,10 @@ LV2Plugin::do_save_preset(string name)
|
|||
lilv_state_free(state);
|
||||
|
||||
std::string uri = Glib::filename_to_uri(Glib::build_filename(bundle, file_name));
|
||||
#if 0 // work in progress -- make plugin presets immediately available
|
||||
LilvNode *node = lilv_new_uri(_world.world, uri.c_str());
|
||||
lilv_world_load_bundle(_world.world, node);
|
||||
// TODO:
|
||||
//lilv_world_load_resource(_world.world, preset);
|
||||
lilv_world_load_resource(_world.world, node);
|
||||
lilv_node_free(node);
|
||||
#endif
|
||||
return uri;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue