projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58363e5
)
make LV2 presets immediately available
author
Robin Gareus
<robin@gareus.org>
Tue, 7 Jan 2014 01:17:25 +0000
(
02:17
+0100)
committer
Robin Gareus
<robin@gareus.org>
Tue, 7 Jan 2014 01:17:25 +0000
(
02:17
+0100)
libs/ardour/lv2_plugin.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/lv2_plugin.cc
b/libs/ardour/lv2_plugin.cc
index 7d2e2e4b868d0df11808e633516df25446a8cfaa..dc7805c27344c4de5566d4735e478f3123c43061 100644
(file)
--- 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;
}