diff options
author | David Robillard <d@drobilla.net> | 2011-02-17 10:30:08 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-02-17 10:30:08 +0000 |
commit | e668b8c846175f90cf22b456c5e5a4cc85410da4 (patch) | |
tree | 613d2e37d4ef359d2f572bfc4bfd43e6acff43c7 /src/engine/ingen_lv2.cpp | |
parent | 4c6269aeaf39f1a5c7473c22ff0417d50decfdc3 (diff) | |
download | ingen-e668b8c846175f90cf22b456c5e5a4cc85410da4.tar.gz ingen-e668b8c846175f90cf22b456c5e5a4cc85410da4.tar.bz2 ingen-e668b8c846175f90cf22b456c5e5a4cc85410da4.zip |
Jack session support for ingen.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2978 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/ingen_lv2.cpp')
-rw-r--r-- | src/engine/ingen_lv2.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/engine/ingen_lv2.cpp b/src/engine/ingen_lv2.cpp index 3b62eca9..8b9fd90d 100644 --- a/src/engine/ingen_lv2.cpp +++ b/src/engine/ingen_lv2.cpp @@ -293,9 +293,9 @@ ingen_instantiate(const LV2_Descriptor* descriptor, interface->process(*engine->post_processor(), context, false); engine->post_processor()->process(); - plugin->world->parser()->parse_document(plugin->world, - plugin->world->engine().get(), - patch->filename); + plugin->world->parser()->parse_file(plugin->world, + plugin->world->engine().get(), + patch->filename); while (!interface->empty()) { interface->process(*engine->post_processor(), context, false); @@ -402,8 +402,9 @@ Lib::Lib() Shared::bundle_file_path("manifest.ttl")))); for (Records::iterator i = records.begin(); i != records.end(); ++i) { - patches.push_back(SharedPtr<const LV2Patch>( - new LV2Patch(i->uri.str(), i->filename))); + patches.push_back( + SharedPtr<const LV2Patch>(new LV2Patch(i->patch_uri.str(), + i->file_uri))); } ingen_world_free(world); |