summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2014-01-07 02:17:25 +0100
committerRobin Gareus <robin@gareus.org>2014-01-07 02:17:25 +0100
commitc4cdf61971a7190bc63db96ad6128f4598ebc265 (patch)
tree1da3409f55712b7c6c32ca8d3540f54fd7eb98e3 /libs
parent58363e5490085ded7bbb7c72d5090fbba7efaf0d (diff)
make LV2 presets immediately available
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/lv2_plugin.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/libs/ardour/lv2_plugin.cc b/libs/ardour/lv2_plugin.cc
index 7d2e2e4b86..dc7805c273 100644
--- a/libs/ardour/lv2_plugin.cc
+++ b/libs/ardour/lv2_plugin.cc
@@ -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;
}